OFFSET
3,4
LINKS
Robert Israel, Table of n, a(n) for n = 3..10000
FORMULA
G.f. g(x)^3 where g(x) is the G.f. of A005171.
MAPLE
b:= proc(n, t) option remember;
`if`(n=0, `if`(t=0, 1, 0), `if`(t<1, 0, add(
`if`(isprime(j), 0, b(n-j, t-1)), j=1..n)))
end:
a:= n-> b(n, 3):
seq(a(n), n=3..65); # Alois P. Heinz, Feb 13 2021
MATHEMATICA
nmax = 65; CoefficientList[Series[Sum[Boole[!PrimeQ[k]] x^k, {k, 1, nmax}]^3, {x, 0, nmax}], x] // Drop[#, 3] &
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Feb 13 2021
STATUS
approved