OFFSET
0,7
COMMENTS
Number of partitions of n into distinct parts congruent to 1 or 2 mod 4.
FORMULA
G.f.: Product_{k>=1} (1 + x^A042963(k)).
a(n) ~ exp(Pi*sqrt(n/6)) / (2^(3/2)*3^(1/4)*n^(3/4)). - Vaclav Kotesovec, Mar 23 2018
EXAMPLE
a(11) = 3 because we have [10, 1], [9, 2] and [6, 5].
MATHEMATICA
nmax = 70; CoefficientList[Series[Product[(1 + x^(4 k + 1)) (1 + x^(4 k + 2)), {k, 0, nmax}], {x, 0, nmax}], x]
nmax = 70; CoefficientList[Series[QPochhammer[-x, x^4] QPochhammer[-x^2, x^4], {x, 0, nmax}], x]
nmax = 70; CoefficientList[Series[Product[(1 + Boole[MemberQ[{1, 2}, Mod[k, 4]]] x^k), {k, 1, nmax}], {x, 0, nmax}], x]
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Mar 22 2018
STATUS
approved