OFFSET
0,6
COMMENTS
An upper bound is a(n) <= r for the largest r with 1^2 + ... + r^2 <= n^2, and with equality only at n = 0,1,24, the latter being a(70) = 24 (see comments A001032).
LINKS
David A. Corneth, Table of n, a(n) for n = 0..10000
David A. Corneth, n, a(n), one tuple of size a(n) where sum of elements of tuples is n^2
EXAMPLE
For n = 11, there are A030273(11) = 4 partitions of 11^2 into distinct squares: {11^2}, {2^2, 6^2, 9^2}, {1^2, 2^2, 4^2, 10^2}, {1^2, 2^2, 4^2, 6^2, 8^2}, where the largest cardinality of these sets is 5. Therefore, a(11) = 5.
PROG
(PARI) a(n)=poldegree(polcoef(prod(k=1, n, 1 + y*x^(k^2), 1 + O(x^(n^2+1))), n^2)) \\ Andrew Howroyd, Jul 13 2025
CROSSREFS
KEYWORD
nonn
AUTHOR
Gonzalo MartÃnez, Jul 13 2025
EXTENSIONS
More terms from Andrew Howroyd, Jul 13 2025
STATUS
approved
