OFFSET
1,2
COMMENTS
a(1) = 1 and a(2) = 4 are squares, but are not the sum of two nonzero squares. If zero were allowed, then 1 and 4 would not be terms, since 1 = 1 + 0 and 4 = 4 + 0.
MATHEMATICA
a[n_] := Complement[Table[m, {m, 1, n}], Table[Prime[m], {m, 1, PrimePi[n]}], Select[Range[5, n], SquaresR[2, #] != 0 &]]; a[132]
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert P. P. McKone, Jan 19 2022
STATUS
approved