login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A123199 Irregular triangle read by rows: row n is the expansion of (-x^2 + 2*x + 1)^n. 12
1, 1, 2, -1, 1, 4, 2, -4, 1, 1, 6, 9, -4, -9, 6, -1, 1, 8, 20, 8, -26, -8, 20, -8, 1, 1, 10, 35, 40, -30, -68, 30, 40, -35, 10, -1, 1, 12, 54, 100, 15, -168, -76, 168, 15, -100, 54, -12, 1, 1, 14, 77, 196, 161, -238, -427, 184, 427, -238, -161, 196, -77, 14 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

COMMENTS

The n-th row consists of the coefficients in the expansion of Sum_{j=0..n} A007318(n, j)*(2*x)^j*(1 - x^2)^(n - j).

REFERENCES

Gengzhe Chang and Thomas W. Sederberg, Over and Over Again, The Mathematical Association of America, 1997, p. 164, figure 26.1.

Henry McKean and Victor Moll, Elliptic Curves: Function Theory, Geometry, Arithmetic, Cambridge University Press, 1997, p. 106, figure 2.22.

LINKS

Table of n, a(n) for n=0..62.

FORMULA

Row n is made of coefficients of: (-x^2 + 2*x + 1)^n. - Thomas Baruchel, Jan 15 2015

From Franck Maminirina Ramaharo, Oct 13 2018: (Start)

G.f.: 1/(1 - (1 +  2*x - x^2)*y).

E.g.f.: exp((1 +  2*x - x^2)*y).

T(n,1) = A005843(n).

T(n,2) = A014107(n).

T(n,n) = A098335(n). (End)

EXAMPLE

Triangle begins:

    1;

    1,  2, -1;

    1,  4,  2, -4,   1;

    1,  6,  9, -4,  -9,   6, -1;

    1,  8, 20,  8, -26,  -8, 20, -8,   1;

    1, 10, 35, 40, -30, -68, 30, 40, -35, 10, -1;

    ...

MATHEMATICA

Table[CoefficientList[(-x^2 + 2*x + 1)^n, x], {n, 0, 10}]//Flatten

PROG

(Maxima) create_list(ratcoef((-x^2 + 2*x + 1)^n, x, k), n, 0, 10, k, 0, 2*n); /* Franck Maminirina Ramaharo, Oct 13 2018 */

CROSSREFS

Row sums: A000079 (Powers of 2).

Cf. A122753, A123018, A123019, A123021, A123027, A123202, A123202, A123217, A123221.

Sequence in context: A122517 A256098 A177276 * A212282 A157125 A335941

Adjacent sequences:  A123196 A123197 A123198 * A123200 A123201 A123202

KEYWORD

sign,tabf

AUTHOR

Roger L. Bagula, Oct 04 2006

EXTENSIONS

New name from Thomas Baruchel, Jan 15 2015

Edited, and offset corrected by Franck Maminirina Ramaharo, Oct 13 2018

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 17 21:11 EDT 2021. Contains 343990 sequences. (Running on oeis4.)