cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A124216 Generalized Pascal triangle.

Original entry on oeis.org

1, 1, 1, 1, 4, 1, 1, 9, 9, 1, 1, 16, 34, 16, 1, 1, 25, 90, 90, 25, 1, 1, 36, 195, 328, 195, 36, 1, 1, 49, 371, 931, 931, 371, 49, 1, 1, 64, 644, 2240, 3334, 2240, 644, 64, 1, 1, 81, 1044, 4788, 9846, 9846
Offset: 0

Views

Author

Paul Barry, Oct 19 2006

Keywords

Comments

Consider the 1-parameter family of triangles with g.f. (1-x(1+y))/(1-2x(1+y)+x^2(1+k*x+y^2)). A007318 corresponds to k=2. A056241 corresponds to k=1. A124216 corresponds to k=0. Row sums are A006012. Diagonal sums are A124217.

Examples

			Triangle begins
1,
1, 1,
1, 4, 1,
1, 9, 9, 1,
1, 16, 34, 16, 1,
1, 25, 90, 90, 25, 1,
1, 36, 195, 328, 195, 36, 1,
1, 49, 371, 931, 931, 371, 49, 1
		

Crossrefs

Cf. A001263.

Formula

G.f.: (1-x(1+y))/(1-2x(1+y)+x^2(1+y^2)); Number triangle T(n,k)=sum{j=0..n, C(n,j)C(j,2(j-k))2^(j-k)}.
Equals 2*A001263 - A007318; (i.e. twice the Narayana triangle minus Pascal's triangle). - Gary W. Adamson, Jun 14 2007