OFFSET
1,2
COMMENTS
MATHEMATICA
TriangularQ[n_]:=IntegerQ[(Sqrt[1+8n]-1)/2]; A000217[n_]:=n(n+1)/2; a={}; For[k=0, k<=148, k++, ok=1; For[h=0, A000217[h]<k/2, h++, If[TriangularQ[k - A000217[h]] , ok=0]]; If[ok==1, AppendTo[a, k]]]; a (* Stefano Spezia, Nov 06 2022 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Stefano Spezia, Oct 01 2022
STATUS
approved