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.

A135387 Triangle read by rows, with (2, 1, 0, 0, 0, ...) in every column.

Original entry on oeis.org

2, 1, 2, 0, 1, 2, 0, 0, 1, 2, 0, 0, 0, 1, 2, 0, 0, 0, 0, 1, 2, 0, 0, 0, 0, 0, 1, 2, 0, 0, 0, 0, 0, 0, 1, 2, 0, 0, 0, 0, 0, 0, 0, 1, 2
Offset: 1

Views

Author

Gary W. Adamson, Dec 09 2007

Keywords

Comments

Let the triangle = M, then M^n * [1, 1, 0, 0, 0, ...] generates rows of triangle A118800. M^n * [1, 0, 0, 0, ...] generates rows of triangle A038207.
Eigensequence of the triangle = the Pell numbers, A000129: (1, 2, 5, 12, 29, ...). - Gary W. Adamson, Dec 29 2008

Examples

			First few rows of the triangle:
  2;
  1, 2
  0, 1, 2;
  0, 0, 1, 2;
  0, 0, 0, 1, 2;
  0, 0, 0, 0, 1, 2;
  ...
		

Crossrefs

Cf. A000129. - Gary W. Adamson, Dec 29 2008

Formula

Triangle by columns (2, 1, 0, 0, 0, 0, 0, ...) in every column. By rows, (n-2) zeros followed by 1, 2.