OFFSET
0,3
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..200
Christopher Hunt Gribble, C++ program
EXAMPLE
a(2) = 5 because there are 5 parts in the set of partitions of 2^2 into squares. The partitions are (1 2 X 2 square) and (4 1 X 1 squares) giving 5 parts in all.
MAPLE
b:= proc(n, i) option remember; `if`(n=0, [1, 0], `if`(i<1, [0$2],
b(n, i-1)+`if`(i^2>n, [0$2], (g->g+[0, g[1]])(b(n-i^2, i)))))
end:
a:= n-> b(n^2, n)[2]:
seq(a(n), n=0..40); # Alois P. Heinz, Sep 23 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
Christopher Hunt Gribble, Sep 23 2013
STATUS
editing