OFFSET
12,2
LINKS
Alois P. Heinz, Table of n, a(n) for n = 12..10000
FORMULA
G.f.: (Sum_{k>=1} x^prime(k))^6.
MAPLE
b:= proc(n, k) option remember; local r, p; r, p:= 0, 2;
if n=0 then `if`(k=0, 1, 0) elif k<1 then 0 else
while p<=n do r:= r+b(n-p, k-1); p:= nextprime(p) od; r fi
end:
a:= n-> b(n, 6):
seq(a(n), n=12..60); # Alois P. Heinz, Jan 31 2021
MATHEMATICA
nmax = 60; CoefficientList[Series[Sum[x^Prime[k], {k, 1, nmax}]^6, {x, 0, nmax}], x] // Drop[#, 12] &
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Jan 31 2021
STATUS
approved