A109409 Coefficients of polynomials triangular sequence produced by removing primes from the odd numbers in A028338.
1, 1, 1, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 1, 0, 0, 0, 9, 10, 1, 0, 0, 0, 0, 9, 10, 1, 0, 0, 0, 0, 0, 9, 10, 1, 0, 0, 0, 0, 0, 135, 159, 25, 1, 0, 0, 0, 0, 0, 0, 135, 159, 25, 1, 0, 0, 0, 0, 0, 0, 0, 135, 159, 25, 1, 0, 0, 0, 0, 0, 0, 0, 2835, 3474, 684, 46, 1
Offset: 1
Examples
{1}, {1, 1}, {0, 1, 1}, {0, 0, 1, 1}, {0, 0, 0, 1, 1}, {0, 0, 0, 9, 10, 1}, {0, 0, 0, 0, 9, 10, 1}, {0, 0, 0, 0, 0, 9, 10, 1}
Programs
-
Mathematica
a = Join[{{1}}, Table[CoefficientList[Product[x + g[n], {n, 0, m}], x], {m, 0, 10}]]; Flatten[a]
Formula
p[n]=Product[If[PrimeQ[2*n+1]==false,x+(2*n+1),x] a(n) =CoefficientList[p[n],x]
Comments