OFFSET
0,3
FORMULA
G.f.: Product_{k>=1} 1 + k^2*x^k/(1-x^k).
EXAMPLE
The partitions of 4 are 4, 3+1, 2+2, 2+1+1, 1+1+1+1. So a(4) = 16 + 9 + 4 + 4 + 1 = 34.
PROG
(PARI) my(N=40, x='x+O('x^N)); Vec(prod(k=1, N, 1+k^2*x^k/(1-x^k)))
CROSSREFS
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Feb 04 2024
STATUS
approved