login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A025323
Numbers that are the sum of 3 nonzero squares in exactly 3 ways.
19
54, 66, 81, 86, 89, 99, 101, 110, 114, 126, 131, 149, 150, 162, 166, 173, 174, 179, 182, 185, 186, 216, 219, 221, 222, 225, 227, 233, 237, 241, 242, 245, 258, 264, 274, 275, 286, 291, 302, 305, 309, 315, 318, 323, 324, 334, 338, 344, 347, 349, 356, 361, 366, 377, 396
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
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
KEYWORD
nonn
STATUS
approved