OFFSET
0,36
COMMENTS
Number of compositions (ordered partitions) of n into cubes of primes (A030078).
LINKS
FORMULA
G.f.: 1/(1 - Sum_{k>=1} x^(prime(k)^3)).
EXAMPLE
a(35) = 2 because we have [8, 27] and [27, 8].
MAPLE
N:= 200:
Primes:= select(isprime, [2, seq(i, i=3..floor(N^(1/3)), 2)]):
G:= 1/(1- add(x^(Primes[i]^3), i=1..nops(Primes))):
S:= series(G, x, N+1):
seq(coeff(S, x, j), j=0..N); # Robert Israel, Jan 23 2019
MATHEMATICA
nmax = 120; CoefficientList[Series[1/(1 - Sum[x^Prime[k]^3, {k, 1, nmax}]), {x, 0, nmax}], x]
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Dec 24 2016
STATUS
approved