Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A137406
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A137406 Triangular sequence from coefficients of a switched even -odd polynomial recursion: Even:p(x,n)=2*x*p(x, n - 1) - p(x, n - 2); Odd:p(x,n)=(1 - 2*x)*p(x, n - 1) - p(x, n - 2);. +0
1
1, 1, -2, -1, 2, -4, -2, 6, -8, 8, 1, -6, 16, -16, 16, 3, -14, 36, -56, 48, -32, -1, 12, -44, 88, -128, 96, -64, -4, 28, -104, 232, -352, 384, -256, 128, 1, -20, 100, -296, 592, -800, 832, -512, 256, 5, -50, 244, -728, 1536, -2368, 2688, -2304, 1280, -512, -1, 30, -200, 784, -2048, 3872, -5568, 5888, -4864, 2560, -1024 (list; table; graph; listen)
OFFSET

1,3

COMMENT

A002530 is the row sums:

{1, -1, -3, 4, 11, -15, -41, 56, 153, -209, -571}

FORMULA

p(x,-1)=0;p(x,0)=1;p(x,1]=1-28x; Even:p(x,n)=2*x*p(x, n - 1) - p(x, n - 2); Odd:p(x,n)=(1 - 2*x)*p(x, n - 1) - p(x, n - 2);

EXAMPLE

{1},

{1, -2},

{-1, 2, -4},

{-2, 6, -8, 8},

{1, -6, 16, -16, 16},

{3, -14, 36, -56, 48, -32},

{-1, 12, -44, 88, -128, 96, -64},

{-4, 28, -104, 232, -352, 384, -256, 128},

{1, -20, 100, -296, 592, -800, 832, -512, 256},

{5, -50, 244, -728, 1536, -2368, 2688, -2304, 1280, -512},

{-1, 30, -200, 784, -2048, 3872, -5568, 5888, -4864, 2560, -1024}

MATHEMATICA

Clear[p, x, a] p[x, -1] = 0; p[x, 0] = 1; p[x, 1] = 1 - 2*x; p[x_, n_] := p[x, n] = If[Mod[n, 2] == 0, 2*x*p[x, n - 1] - p[x, n - 2], (1 - 2*x)*p[x, n - 1] - p[x, n - 2]]; Table[ExpandAll[p[x, n]], {n, 0, 10}]; a = Table[CoefficientList[p[x, n], x], {n, 0, 10}]; Flatten[a]

CROSSREFS

Cf. A002530.

Sequence in context: A120253 A060547 A079878 this_sequence A120855 A160001 A091173

Adjacent sequences: A137403 A137404 A137405 this_sequence A137407 A137408 A137409

KEYWORD

tabl,uned,sign

AUTHOR

Roger L. Bagula (rlbagulatftn(AT)yahoo.com), Apr 14 2008

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 December 9 18:50 EST 2009. Contains 170568 sequences.


AT&T Labs Research