A285798 Number of partitions of n into parts with an even number of distinct prime divisors.
1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 5, 5, 6, 7, 8, 8, 11, 11, 14, 16, 19, 19, 25, 26, 31, 34, 40, 41, 51, 53, 62, 68, 80, 85, 103, 107, 124, 135, 157, 166, 195, 205, 235, 256, 294, 311, 362, 383, 437, 472, 535, 568, 652, 695, 786, 847, 954, 1016, 1155, 1231, 1381, 1486, 1662, 1774, 1997, 2130, 2377, 2557, 2846
Offset: 0
Keywords
Examples
a(10) = 3 because we have [10], [6, 1, 1, 1, 1] and [1, 1, 1, 1, 1, 1, 1, 1, 1, 1].
Links
Crossrefs
Programs
-
Mathematica
nmax = 70; CoefficientList[Series[Product[1/(1 - Boole[EvenQ[PrimeNu[k]]] x^k), {k, 1, nmax}], {x, 0, nmax}], x]
Formula
G.f.: Product_{k>=1} 1/(1 - x^A030231(k)).