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”).

A024507
Numbers that are the sum of 2 distinct nonzero squares (with repetition).
12
5, 10, 13, 17, 20, 25, 26, 29, 34, 37, 40, 41, 45, 50, 52, 53, 58, 61, 65, 65, 68, 73, 74, 80, 82, 85, 85, 89, 90, 97, 100, 101, 104, 106, 109, 113, 116, 117, 122, 125, 125, 130, 130, 136, 137, 145, 145, 146, 148, 149, 153, 157, 160, 164, 169, 170, 170, 173, 178, 180, 181, 185, 185, 193
OFFSET
1,1
MATHEMATICA
nn=10000; A024507=Table[x^2+y^2, {x, Sqrt[nn]}, {y, x+1, Sqrt[nn-x^2]}]//Flatten//Sort (* Zak Seidov, Apr 07 2011*)
CROSSREFS
Cf. A009000, A009003, A024507, A004431 (duplicates removed), A055096.
Sequence in context: A072284 A242898 A230486 * A004431 A025302 A268379
KEYWORD
nonn
EXTENSIONS
Name edited by Zak Seidov, Apr 08 2011
STATUS
approved