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-1 of 1 results.

A177974 Triangle T(n,k) = n!/(n - k)! + n!/k! - n! read by rows, 0 <= k <= n.

Original entry on oeis.org

1, 1, 1, 1, 2, 1, 1, 3, 3, 1, 1, 4, 0, 4, 1, 1, 5, -40, -40, 5, 1, 1, 6, -330, -480, -330, 6, 1, 1, 7, -2478, -3990, -3990, -2478, 7, 1, 1, 8, -20104, -33264, -36960, -33264, -20104, 8, 1, 1, 9, -181368, -301896, -344736, -344736, -301896, -181368, 9, 1
Offset: 0

Views

Author

Roger L. Bagula, May 16 2010

Keywords

Examples

			Triangle begins:
  1;
  1, 1;
  1, 2,       1;
  1, 3,       3,       1;
  1, 4,       0,       4,       1;
  1, 5,     -40,     -40,       5,       1;
  1, 6,    -330,    -480,    -330,       6,       1;
  1, 7,   -2478,   -3990,   -3990,   -2478,       7,       1;
  1, 8,  -20104,  -33264,  -36960,  -33264,  -20104,       8, 1;
  1, 9, -181368, -301896, -344736, -344736, -301896, -181368, 9, 1;
  ...
		

Crossrefs

Cf. A155162.

Programs

  • Mathematica
    Flatten[Table[Table[n!/(n - k)! + n!/k! - n!, {k, 0, n}], {n, 0, 10}]]

Formula

T(n,k) = n!/(n - k)! + n!/k! - n.
T(n,k) = A155162(n,k) - n!. - Seiichi Manyama, Sep 26 2023
Showing 1-1 of 1 results.