OFFSET
1,1
LINKS
David A. Corneth, Table of n, a(n) for n = 1..1069 (first 418 terms from Robert Price, terms < 2*10^6)
David A. Corneth, PARI program
David A. Corneth, Terms below (inclusive) 2*10^6 with the sums of squares
Eric Weisstein's World of Mathematics, Square Number.
FORMULA
{n: A025427(n) = 3}. - R. J. Mathar, Aug 05 2022
EXAMPLE
182 is a term because 182 = 1^2 + 9^2 + 10^2 = 2^2 + 3^2 + 13^2 = 5^2 + 6^2 + 11^2 and there are no more such sums of three nonzero squares giving 182. - David A. Corneth, Feb 13 2019
MATHEMATICA
Select[Range@ 400, Length@ # == 3 &@ 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