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!)
A156578 Triangle of coefficients of 1 - (n+1)*x^n + n*x^(n+1), read by rows. 1
0, 1, -2, 1, 1, 0, -3, 2, 1, 0, 0, -4, 3, 1, 0, 0, 0, -5, 4, 1, 0, 0, 0, 0, -6, 5, 1, 0, 0, 0, 0, 0, -7, 6, 1, 0, 0, 0, 0, 0, 0, -8, 7, 1, 0, 0, 0, 0, 0, 0, 0, -9, 8, 1, 0, 0, 0, 0, 0, 0, 0, 0, -10, 9, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, -11, 10 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
FORMULA
T(n, k) = [x^k]( (1-x)^2 * Sum_{j=0..n-1} (j+1)*x^j ).
T(n, k) = [k=0] - (n+1)*[k=n] + n*[k=n+1] for n > 0, with T(0, 0) = 0. - G. C. Greubel, Jan 03 2022
EXAMPLE
Irregular triangle begins as:
0;
1, -2, 1;
1, 0, -3, 2;
1, 0, 0, -4, 3;
1, 0, 0, 0, -5, 4;
1, 0, 0, 0, 0, -6, 5;
1, 0, 0, 0, 0, 0, -7, 6;
1, 0, 0, 0, 0, 0, 0, -8, 7;
1, 0, 0, 0, 0, 0, 0, 0, -9, 8;
1, 0, 0, 0, 0, 0, 0, 0, 0, -10, 9;
1, 0, 0, 0, 0, 0, 0, 0, 0, 0, -11, 10;
...
MATHEMATICA
T[n_]:= If[n==0, 0, CoefficientList[1 -(n+1)*x^n +n*x^(n+1), x]];
Table[T[n], {n, 0, 15}]//Flatten (* modified by G. C. Greubel, Jan 03 2022 *)
PROG
(Sage) [0]+flatten([[( 1 -(n+1)*x^n +n*x^(n+1) ).series(x, n+2).list()[k] for k in (0..n+1)] for n in (1..12)]) # G. C. Greubel, Jan 03 2022
CROSSREFS
Sequence in context: A340011 A055168 A085144 * A171846 A097230 A144789
KEYWORD
sign,tabf,less
AUTHOR
Roger L. Bagula, Feb 10 2009
EXTENSIONS
Edited by G. C. Greubel, Jan 03 2022
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 April 19 09:23 EDT 2024. Contains 371782 sequences. (Running on oeis4.)