login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A191090
a(n)^2 is the largest square required when writing n as a partition of squares.
4
1, 1, 1, 2, 1, 1, 1, 2, 3, 1, 1, 2, 2, 1, 1, 4, 2, 3, 1, 2, 2, 2, 1, 2, 5, 2, 3, 2, 2, 2, 2, 4, 2, 3, 2, 6, 2, 2, 2, 2, 4, 2, 3, 2, 3, 2, 2, 4, 7, 5, 2, 4, 2, 3, 2, 2, 4, 3, 3, 2, 5, 2, 3, 8, 4, 4, 3, 4, 2, 3, 2, 6, 4, 5, 5, 3, 4, 2, 3, 4, 9, 4, 3, 4, 6, 5
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 + ....
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
Sequence in context: A324924 A301314 A241898 * A331958 A319193 A097886
KEYWORD
nonn
AUTHOR
T. D. Noe, Jul 18 2011
STATUS
approved