OFFSET
0,10
FORMULA
G.f.: Product_{k>0} ((1+x^(2k-1)^2)/(1-x^(2k)^2) = Product_{k>0} ((1+x^(2k-1)^2)*(1+x^(2k)^2)))/(1-x^2(2k)^2).
EXAMPLE
E.g. a(30) = 3 because we can write 30 as 25+4+1 = 16+9+4+1 = 8+8+9+4+1.
MAPLE
series(product((1+x^((2*k-1)^2)))/(1-x^((2*k)^2)), k=1..100), x=0, 100);
CROSSREFS
KEYWORD
nonn
AUTHOR
Noureddine Chair, Mar 01 2005
STATUS
approved