Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A158854
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
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])]. +0
2
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; listen)
OFFSET

0,5

COMMENT

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: A062378 A073753 A078090 this_sequence A119849 A026492 A139551

Adjacent sequences: A158851 A158852 A158853 this_sequence A158855 A158856 A158857

KEYWORD

sign,tabl,uned

AUTHOR

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

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 25 08:46 EST 2009. Contains 167481 sequences.


AT&T Labs Research