OFFSET
1,4
COMMENTS
If we write n as the sum of nondecreasing squares, then a(n) is the largest value such that n = a(n)^2 + ....
LINKS
T. D. Noe, Table of n, a(n) for n = 1..1000
EXAMPLE
a(8) = 2 because 8 = 2^2 + 2^2.
MATHEMATICA
Table[Last[Union[First /@ Union /@ (DeleteCases[#, 0] & /@ PowersRepresentations[n, 11, 2])]], {n, 100}]
CROSSREFS
KEYWORD
nonn
AUTHOR
T. D. Noe, Jul 18 2011
STATUS
approved