OFFSET
1,2
EXAMPLE
96=8^2+2*4^2, 97=5^2+2*6^2, 98 = 0^2+2*7^2,99=9^2+2*3^2=7^2+2*5^2,100=10^2+2*0^2
MATHEMATICA
f[n_] := f[n_] = Block[{y = 0}, While[x = Sqrt[n - 2y^2]; !IntegerQ[x] && x >= 0, y++ ]; If[x \[Element] Reals, 1, 0]]; Select[ Range[0, 76895], f[ # ] == f[ # + 1] == f[ # + 2] == f[ # + 3] == f[ # + 4] == 1 &] (* Robert G. Wilson v, Aug 20 2004 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
John L. Drost, Aug 16 2004
EXTENSIONS
More terms from Robert G. Wilson v, Aug 20 2004
STATUS
approved