OFFSET
1,1
COMMENTS
This is simply A001983 excluding the square numbers.
The squares of these numbers are also sums of two distinct nonzero squares. Including them gives A004431. - Jean-Christophe Hervé, Nov 11 2013
EXAMPLE
5 = 4 + 1, and 5^2 = 16 + 9 ; 10 = 9 + 1, and 10^2 = 64 + 36. - Jean-Christophe Hervé, Nov 11 2013
MATHEMATICA
selQ[n_] := !IntegerQ[Sqrt[n]] && Select[ PowersRepresentations[n, 2, 2], 0 <= #[[1]] < #[[2]]&] != {};
Select[Range[1000], selQ] (* Jean-François Alcover, Apr 20 2023 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Rob Hubbard (hubbard.r(AT)gmail.com), Oct 08 2007
EXTENSIONS
Definition corrected by Jean-Christophe Hervé, Nov 11 2013
STATUS
approved