login
A301332
Number of compositions (ordered partitions) of n into parts having the same number of distinct prime divisors as n.
2
1, 1, 1, 1, 2, 3, 1, 8, 11, 19, 1, 47, 2, 116, 1, 1, 460, 724, 4, 1820, 4, 3, 6, 11482, 10, 28821, 11, 72338, 16, 181549, 1, 455647, 721847, 18, 44, 14, 67, 7203907, 82, 49, 119, 45380392, 1, 113898439, 223, 141, 326, 717490903, 472, 1800800888, 614, 407, 884, 11343951113, 1268, 790, 1692, 1185
OFFSET
0,5
FORMULA
a(n) = [x^n] 1/(1 - Sum_{omega(k) = omega(n)} x^k).
EXAMPLE
a(18) = 4 because we have [18], [12, 6], [6, 12] and [6, 6, 6], where 18, 12 and 6 are numbers that are divisible by exactly 2 different primes.
MATHEMATICA
Table[SeriesCoefficient[1/(1 - Sum[Boole[PrimeNu[k] == PrimeNu[n]] x^k, {k, 1, n}]), {x, 0, n}], {n, 0, 57}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Mar 18 2018
STATUS
approved