login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A158854 A triangle of polynomial coefficients: p(x,n)=If[n == 0, 1, (1 - x)^(Floor[(n)/2] + 1)(1 + x)^(Floor[(n - 1)/2])]. 1
1, 1, -1, 1, -2, 1, 1, -1, -1, 1, 1, -2, 0, 2, -1, 1, -1, -2, 2, 1, -1, 1, -2, -1, 4, -1, -2, 1, 1, -1, -3, 3, 3, -3, -1, 1, 1, -2, -2, 6, 0, -6, 2, 2, -1, 1, -1, -4, 4, 6, -6, -4, 4, 1, -1, 1, -2, -3, 8, 2, -12, 2, 8, -3, -2, 1 (list; table; graph; refs; listen; history; internal format)
OFFSET

0,5

COMMENTS

Row sums are zero except for n=0.

FORMULA

p(x,n)=If[n == 0, 1, (1 - x)^(Floor[(n)/2] + 1)(1 + x)^(Floor[(n - 1)/2])];

t(n,m)=coefficients(p(x,n),x)

EXAMPLE

{1},

{1, -1},

{1, -2, 1},

{1, -1, -1, 1},

{1, -2, 0, 2, -1},

{1, -1, -2, 2, 1, -1},

{1, -2, -1, 4, -1, -2, 1},

{1, -1, -3, 3, 3, -3, -1, 1},

{1, -2, -2, 6, 0, -6, 2, 2, -1},

{1, -1, -4, 4, 6, -6, -4, 4, 1, -1},

{1, -2, -3, 8, 2, -12, 2, 8, -3, -2, 1}

MATHEMATICA

Clear[p, x, n, m, a];

p[x_, n_] = If[n == 0, 1, (1 - x)^(Floor[(n)/ 2] + 1)(1 + x)^(Floor[(n - 1)/2])];

Table[ExpandAll[p[x, n]], {n, 0, 10}];

Table[CoefficientList[ExpandAll[p[x, n]], x], {n, 0, 10}];

Flatten[%]

CROSSREFS

A051160

Sequence in context: A168516 A194321 A194852 * A119849 A026492 A139551

Adjacent sequences:  A158851 A158852 A158853 * A158855 A158856 A158857

KEYWORD

sign,tabl,uned

AUTHOR

Roger L. Bagula (rlbagulatftn(AT)yahoo.com), Mar 28 2009

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 16 10:07 EST 2012. Contains 205904 sequences.