login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A123230 Triangle read by rows: T(n,k) is the coefficient of x^k in the polynomial p(n,x) defined by p(0,x)=1, p(1,x)=1+x, p(n,x)=xp(n-1,x)+(-1)^(n+1)p(n-2,x) for n>=2. 1
1, 1, 1, -1, 1, 1, 1, 0, 1, 1, 1, 0, -1, 1, 1, 1, 1, 1, 0, 1, 1, -1, 1, 2, 0, -1, 1, 1, 1, 0, 2, 2, 1, 0, 1, 1, 1, 0, -2, 2, 3, 0, -1, 1, 1, 1, 1, 2, 0, 3, 3, 1, 0, 1, 1, -1, 1, 3, 0, -3, 3, 4, 0, -1, 1, 1 (list; table; graph; refs; listen; history; text; internal format)
OFFSET
0,24
LINKS
EXAMPLE
{1},
{1, 1},
{-1, 1, 1},
{1, 0, 1, 1},
{1, 0, -1, 1, 1},
{1, 1, 1, 0, 1, 1},
{-1, 1, 2, 0, -1, 1, 1},
{1, 0, 2, 2, 1, 0, 1, 1},
{1, 0, -2, 2, 3, 0, -1, 1,1},
{1, 1, 2, 0, 3, 3, 1, 0, 1, 1},
{-1, 1, 3, 0, -3, 3, 4, 0, -1, 1, 1}
MAPLE
P[0]:=1: P[1]:=1+x: for n from 2 to 14 do P[n]:=sort(expand(x*P[n-1]+(-1)^(n+1)*P[n-2])) od: for n from 0 to 14 do seq(coeff(P[n], x, k), k=0..n) od; # yields sequence in triangular form
MATHEMATICA
p[0, x] = 1; p[1, x] = x + 1; p[k_, x_] := p[k, x] = x*p[k - 1, x] + (-1)^(n + 1)p[k - 2, x]; w = Table[CoefficientList[p[n, x], x], {n, 0, 10}]; Flatten[w]
CROSSREFS
Sequence in context: A112202 A126205 A025913 * A078821 A125184 A236575
KEYWORD
sign,tabl
AUTHOR
Roger L. Bagula, Oct 06 2006
EXTENSIONS
Edited by N. J. A. Sloane, Oct 29 2006
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 4 14:57 EDT 2024. Contains 374923 sequences. (Running on oeis4.)