login
A374287
a(n) is the smallest number which can be represented as the sum of n distinct nonzero squares in exactly 2 ways, or -1 if no such number exists.
2
-1, 65, 62, 90, 103, 136, 200, 276, 376, 481, 625, 806, 975, 1183, 1415, 1688, 1989, 2325, 2698, 3110, 3563, 4059, 4600, 5188, 5825, 6513, 7254, 8050, 8903, 9815, 10788, 11824, 12925, 14093, 15330, 16638, 18019, 19475, 21008, 22620, 24313, 26089, 27950, 29898
OFFSET
1,2
EXAMPLE
a(2) = 65 = 1^2 + 8^2 = 4^2 + 7^2.
a(3) = 62 = 1^2 + 5^2 + 6^2 = 2^2 + 3^2 + 7^2.
CROSSREFS
KEYWORD
sign
AUTHOR
Ilya Gutkovskiy, Jul 02 2024
EXTENSIONS
a(12) and beyond from Michael S. Branicky, Jul 02 2024
STATUS
approved