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

A374805
a(n) is the smallest positive integer whose square can be represented as the sum of 3 distinct nonzero squares in exactly n ways, or -1 if no such number exists.
1
1, 7, 15, 23, 31, 21, 33, 39, 49, 45, 79, 57, 95, 103, 75, 69, 127, 87, 63, 151, 93, 167, 111, 123, 99, 187, 117, 105, 161, 241, 141, 135, 153, 247, 271, 283, 177, 183, 165, 275, 147, 171, 323, 219
OFFSET
0,2
EXAMPLE
a(3) = 23: 23^2 = 3^2 + 6^2 + 22^2 = 3^2 + 14^2 + 18^2 = 6^2 + 13^2 + 18^2.
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Ilya Gutkovskiy, Jul 20 2024
EXTENSIONS
a(35)-a(43) from Michael S. Branicky, Jul 21 2024
STATUS
approved