OFFSET
1,2
EXAMPLE
75 = 1^2 + 5^2 + 7^2 = 5^2 + 5^2 + 5^2,
76 = 2^2 + 6^2 + 6^2,
77 = 2^2 + 3^2 + 8^2 = 4^2 + 5^2 + 6^2,
78 = 2^2 + 5^2 + 7^2.
These the first 4 consecutive numbers with the same smallest number of squares needed to represent, so a(4) = 75.
MATHEMATICA
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Ilya Gutkovskiy, Nov 04 2020
STATUS
approved