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.

Showing 1-2 of 2 results.

A178819 Pascal's prism (3-dimensional array) read by folded antidiagonal cross-sections: (h+i; h, i-j, j), h >= 0, i >= 0, 0 <= j <= i.

Original entry on oeis.org

1, 1, 1, 1, 1, 2, 2, 1, 2, 1, 1, 3, 3, 1, 3, 6, 3, 3, 3, 1, 1, 4, 4, 6, 12, 6, 4, 12, 12, 4, 1, 4, 6, 4, 1, 1, 5, 10, 10, 5, 1, 5, 20, 30, 20, 5, 10, 30, 30, 10, 10, 20, 10, 5, 5, 1, 1, 6, 6, 15, 30, 15, 20, 60, 60, 20, 15, 60, 90, 60, 15, 6, 30, 60, 60, 30, 6, 1, 6, 15, 20, 15, 6, 1
Offset: 0

Views

Author

Harlan J. Brothers, Jun 16 2010

Keywords

Comments

P_h = level h of Pascal's prism where P_1 = Pascal's triangle (A007318) and P_2 = denominators of Leibniz harmonic triangle (A003506). A sequence of length k through P is defined by P for n = {1, 2, 3, ..., k}.

Examples

			Prism begins (levels 1-4):
1
1 1
1 2 1
1 3 3 1
1
2 2
3 6 3
4 12 12 4
1
3 3
6 12 6
10 30 30 10
1
4 4
10 20 10
20 60 60 20
		

Crossrefs

Level 1 = A007318.
Level 2 = A003506.
Level 3 = A094305.
Level 4 = A178820.
Level 5 = A178821.
Level 6 = A178822.
Sums of shallow diagonals for each level correspond to rows of square A037027.
Contains A109649 and A046816.
P = A000984.
P = A006480.
P = A000897.
P<3n-2, 3n-2, n> = A113424.

Programs

  • Mathematica
    end = 5; Column/@Table[Multinomial[h, i-j, j], {h, 0, end}, {i, 0, end}, {j, 0, i}]

Formula

a_(h, i, j) = (h+i-2; h-1, i-j, j-1), h >= 1, i >= 1, 1 <= j <= i.
Recurrence:
For P_h, element a is given by: a_(1, 1) = 1; a_(i, j) = ((i+h-2)/(i-1)) (a_(i-1, j) + a_(i-1, j-1)).

Extensions

Keyword tabf by Michel Marcus, Oct 22 2017

A178822 Triangle read by rows: T(n,k) = C(n+5,5) * C(n,k), 0 <= k <= n.

Original entry on oeis.org

1, 6, 6, 21, 42, 21, 56, 168, 168, 56, 126, 504, 756, 504, 126, 252, 1260, 2520, 2520, 1260, 252, 462, 2772, 6930, 9240, 6930, 2772, 462, 792, 5544, 16632, 27720, 27720, 16632, 5544, 792, 1287, 10296, 36036, 72072, 90090, 72072, 36036, 10296, 1287
Offset: 0

Views

Author

Harlan J. Brothers, Jun 19 2010

Keywords

Comments

The product of A000389 and Pascal's triangle (A007318). Level 6 of Pascal's prism (A178819) read by rows: (i+5; 5, i-j, j), i >= 0, 0 <= j <= i.

Examples

			Triangle begins:
    1;
    6,   6;
   21,  42,  21;
   56, 168, 168,  56;
  126, 504, 756, 504, 126;
		

Crossrefs

Rows sum to A054849, shallow diagonals sum to A001874.

Programs

  • Magma
    /* As triangle */ [[Binomial(n+5,5)*Binomial(n,k): k in [0..n]]: n in [0..10]]; // Vincenzo Librandi, Oct 23 2017
    
  • Mathematica
    Table[Multinomial[5, i-j, j], {i, 0, 9}, {j, 0, i}]//Column
    Table[Binomial[n + 5, 5]*Binomial[n, k], {n,0,10}, {k,0,n}] // Flatten (* G. C. Greubel, Nov 25 2017 *)
  • PARI
    for(n=0,10, for(k=0,n, print1(binomial(n+5,5)*binomial(n,k), ", "))) \\ G. C. Greubel, Nov 25 2017

Formula

T(n,k) = C(n+5,5) * C(n,k), 0 <= k <= n.
For element a_(h, i, j) in A178819: a_(6, i, j) = (i+4; 5, i-j, j-1), i >= 1, 1 <= j <= i.
G.f.: 1/(1 - x - x*y)^6. - Ilya Gutkovskiy, Mar 20 2020
Showing 1-2 of 2 results.