OFFSET
1,1
LINKS
David A. Corneth, Table of n, a(n) for n = 1..1705 (first 593 terms from Robert Price, terms <= 2*10^6)
David A. Corneth, Terms below (inclusive) 2*10^6 with the sums of squares
David A. Corneth, PARI program
Eric Weisstein's World of Mathematics, Square Number.
EXAMPLE
299 is a term because 299 = 1^2 + 3^2 + 17^2 = 3^2 + 11^2 + 13^2 = 5^2 + 7^2 + 15^2 = 7^2 + 9^2 + 13^2 and there are no more such sums of four nonzero squares giving 182. - David A. Corneth, Feb 13 2019
MATHEMATICA
Select[Range@ 600, Length@ # == 4 &@ DeleteCases[PowersRepresentations[#, 3, 2], _?(AnyTrue[#, # == 0 &] &)] &] (* Michael De Vlieger, Feb 13 2019 *)
PROG
(PARI) \\ See Corneth link \\ David A. Corneth, Feb 13 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved