OFFSET
1,1
COMMENTS
If n is in this sequence, then 4*n is also in this sequence. So 85*4^k and 130*4^k are terms of this sequence for all nonnegative values of k.
For more details see A051952.
EXAMPLE
85 is a term because 85 = 2^2 + 9^2 = 6^2 + 7^2 and 85 = x^2 + y^2 + z^2 has no solution for nonzero integer values of x, y, z.
130 is a term because 130 = 3^2 + 11^2 = 7^2 + 9^2 and 130 = x^2 + y^2 + z^2 has no solution for nonzero integer values of x, y, z.
340 is a term because 340 = 4*85 and 85 is a term.
MATHEMATICA
twoQ[n_] := 2 == Length@ Select[ PowersRepresentations[n, 2, 2], Times @@ # > 0 &, 2]; threeQ[n_] := {} != Quiet@ IntegerPartitions[n, {3}, Range[ Sqrt@ n]^2, 1]; Select[Range[10^5], twoQ[#] && ! threeQ[#] &] (* Giovanni Resta, May 16 2016 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Altug Alkan, May 16 2016
EXTENSIONS
a(14)-a(28) from Giovanni Resta, May 16 2016
STATUS
approved