OFFSET
0,2
COMMENTS
Number of partitions of n into distinct terms of A000009, where 2 different parts of 1 and 2 different parts of 2 are available (1a, 1b, 2a, 2b, 3a, 4a, 5a, 6a, ...).
LINKS
Robert Israel, Table of n, a(n) for n = 0..10000
Eric Weisstein's World of Mathematics, Partition Function Q
FORMULA
G.f.: Product_{k>=1} (1 + x^A000009(k)).
EXAMPLE
a(3) = 5 because we have [3a], [2a, 1a], [2a, 1b], [2b, 1a] and [2b, 1b].
MAPLE
N:= 20: # to get a(0) .. a(A000009(N))
P:= mul(1+x^k, k=1..N):
R:= mul(1+x^coeff(P, x, n), n=1..N):
seq(coeff(R, x, n), n=0..coeff(P, x, N)); # Robert Israel, Sep 01 2017
MATHEMATICA
nmax = 61; CoefficientList[Series[Product[1 + x^PartitionsQ[k], {k, 1, nmax}], {x, 0, nmax}], x]
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Aug 30 2017
STATUS
approved
