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.

A129994 Triangle read by rows: 2*A007318 - I.

Original entry on oeis.org

1, 2, 1, 2, 4, 1, 2, 6, 6, 1, 2, 8, 12, 8, 1, 2, 10, 20, 20, 10, 1, 2, 12, 30, 40, 30, 12, 1, 2, 14, 42, 70, 70, 42, 14, 1, 2, 16, 56, 112, 140, 112, 56, 16, 1, 2, 18, 72, 168, 252, 252, 168, 72, 18, 1
Offset: 0

Views

Author

Gary W. Adamson, Jun 15 2007

Keywords

Comments

Row sums = (1, 3, 7, 15, 31, ...).

Examples

			First few rows of the triangle are:
  1;
  2,  1;
  2,  4,  1;
  2,  6,  6,  1;
  2,  8, 12,  8,  1;
  2, 10, 20, 20, 10,  1;
  2, 12, 30, 40, 30, 12,  1;
  ...
		

Crossrefs

Cf. A007318.

Programs

  • Mathematica
    Table[2 Binomial[n, k] - Boole[k == n], {n, 0, 9}, {k, 0, n}] // Flatten (* Michael De Vlieger, Nov 02 2017 *)

Formula

Let Pascal's triangle A007318 = P, then this is 2*P - I, I = Identity matrix.

Extensions

Name corrected by Peter Bala, Nov 02 2017