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!)
A304209 Triangle read by rows: T(0,0)=1; T(n,k) = 2*T(n-1,k)-2*T(n-1,k-1)+T(n-1,k-2), for k = 0, 1, ..., 2*n; T(n,k)=0 for n or k < 0. 3
1, 2, -2, 1, 4, -8, 8, -4, 1, 8, -24, 36, -32, 18, -6, 1, 16, -64, 128, -160, 136, -80, 32, -8, 1, 32, -160, 400, -640, 720, -592, 360, -160, 50, -10, 1, 64, -384, 1152, -2240, 3120, -3264, 2624, -1632, 780, -280, 72, -12, 1, 128, -896, 3136, -7168, 11872, -15008, 14896, -11776, 7448, -3752, 1484, -448, 98, -14, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

COMMENTS

Row n gives coefficients in expansion of (2-2*x+x^2)^n.

REFERENCES

Shara Lalo and Zagros Lalo, Polynomial Expansion Theorems and Number Triangles, Zana Publishing, 2018, ISBN: 978-1-9995914-0-3, pp. 178, 182.

LINKS

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

Shara Lalo, Center-justified and Left-justified triangles

Shara Lalo, Skew Diagonals in center-justified Triangle

EXAMPLE

Triangle begins:

   1;

   2,   -2,    1;

   4,   -8,    8,    -4,    1;

   8,  -24,   36,   -32,   18,    -6,    1;

  16,  -64,  128,  -160,  136,   -80,   32,    -8,   1;

  32, -160,  400,  -640,  720,  -592,  360,  -160,  50,  -10,  1;

  64, -384, 1152, -2240, 3120, -3264, 2624, -1632, 780, -280, 72, -12, 1;

  ...

PROG

(PARI) T(n, k) = if ((n<0) || (k<0), 0, if ((n==0) && (k==0), 1, 2*T(n-1, k)-2*T(n-1, k-1)+T(n-1, k-2)));

tabf(nn) = for (n=0, nn, for (k=0, 2*n, print1(T(n, k), ", ")); print); \\ Michel Marcus, May 10 2018

CROSSREFS

Row sums give A000012.

Sequence in context: A300979 A167622 A084606 * A137399 A158985 A295687

Adjacent sequences:  A304206 A304207 A304208 * A304210 A304211 A304212

KEYWORD

tabf,easy,sign

AUTHOR

Shara Lalo, May 08 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 June 15 07:12 EDT 2021. Contains 345043 sequences. (Running on oeis4.)