login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A146880
A symmetrical triangle sequence of coefficients : p(x,n)=If[n == 0, 1, (x + 1)^n + Sum[(1 + Mod[Binomial[n, m], 2])*x^m*(1 + x^(n - 2*m)), {m, 1, n - 1}]].
0
1, 1, 1, 1, 4, 1, 1, 7, 7, 1, 1, 6, 8, 6, 1, 1, 9, 12, 12, 9, 1, 1, 8, 19, 22, 19, 8, 1, 1, 11, 25, 39, 39, 25, 11, 1, 1, 10, 30, 58, 72, 58, 30, 10, 1, 1, 13, 38, 86, 128, 128, 86, 38, 13, 1, 1, 12, 49, 122, 212, 254, 212, 122, 49, 12, 1
OFFSET
0,5
COMMENTS
Row sums are:{1, 2, 6, 16, 22, 44, 78, 152, 270, 532, 1046}.
FORMULA
p(x,n)=If[n == 0, 1, (x + 1)^n + Sum[(1 + Mod[Binomial[n, m], 2])*x^m*(1 + x^(n - 2*m)), {m, 1, n - 1}]]; t(n,m)=coefficients(p(x,n)).
EXAMPLE
{1}, {1, 1}, {1, 4, 1}, {1, 7, 7, 1}, {1, 6, 8, 6, 1}, {1, 9, 12, 12, 9, 1}, {1, 8, 19, 22, 19, 8, 1}, {1, 11, 25, 39, 39, 25, 11, 1}, {1, 10, 30, 58, 72, 58, 30, 10, 1}, {1, 13, 38, 86, 128, 128, 86, 38, 13, 1}, {1, 12, 49, 122, 212, 254, 212, 122, 49, 12, 1}
MATHEMATICA
Clear[p, x, n]; p[x_, n_] = If[ n == 0, 1, (x + 1)^n +Sum[(1 + Mod[Binomial[n, m], 2])*x^m*(1 + x^(n - 2*m)), {m, 1, n - 1}]]; Table[CoefficientList[FullSimplify[ExpandAll[p[x, n]]], x], {n, 0, 10}]; Flatten[%]
CROSSREFS
Sequence in context: A355777 A223489 A016521 * A152236 A296180 A157172
KEYWORD
nonn
AUTHOR
Roger L. Bagula, Nov 02 2008
STATUS
approved