login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A290370
Number of partitions of n into distinct parts that contain primes to odd powers only (A002035).
1
1, 0, 1, 1, 0, 2, 1, 2, 3, 2, 4, 4, 3, 7, 5, 8, 9, 9, 12, 12, 14, 18, 18, 22, 27, 25, 34, 34, 39, 47, 49, 57, 67, 67, 83, 88, 96, 115, 119, 139, 154, 165, 190, 206, 224, 259, 273, 311, 341, 367, 415, 447, 490, 550, 588, 654, 720, 771, 862, 928, 1013, 1121, 1204, 1324, 1448, 1554, 1716, 1850, 2008, 2203, 2366
OFFSET
0,6
FORMULA
G.f.: Product_{k>=1} (1 + x^A002035(k)).
EXAMPLE
a(8) = 3 because we have [8], [6, 2] and [5, 3].
MATHEMATICA
nmax = 70; CoefficientList[Series[Product[1 + Boole[And @@ OddQ /@ FactorInteger[k][[All, 2]]] x^k, {k, 2, nmax}], {x, 0, nmax}], x]
CROSSREFS
Sequence in context: A246833 A213624 A080845 * A029166 A096920 A087154
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Jul 28 2017
STATUS
approved