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.

A174064 Irregular triangle, row sums = n.

Original entry on oeis.org

1, 2, 1, 2, 0, 4, 2, 2, 1, 4, 0, 2, 2, 4, 1, 0, 0, 8, 0, 0, 1, 4, 2, 0, 2, 2, 0, 4, 0, 4, 1, 2, 2, 0, 2, 4, 0, 4, 0, 0, 0, 8, 0, 2, 1, 0, 4, 4, 2, 0, 0, 2, 0, 8, 0, 4, 0, 0, 1, 0, 4, 8, 2, 0, 0, 0, 0, 0, 0, 16, 0, 0, 2, 0, 0, 0, 2, 8, 4, 0, 1, 4, 0, 0, 0, 4, 0, 8, 0, 2, 2, 4, 0, 0, 2, 4, 4, 0, 1, 2, 0, 8, 0, 0, 0
Offset: 1

Views

Author

Gary W. Adamson, Mar 06 2010

Keywords

Comments

Column 1 = A174026.
The triangle begins 1, 2,...then all columns >1 are shifted down twice from previous column. Next term in column 1 = n - (sum of terms in n-th row, columns >1). Terms of the triangle for columns >1 are filled in as a product of column 1 * column 1.

Examples

			Triangle begins:
  1;
  2;
  1, 2;
  0, 4;
  2, 2, 1;
  4, 0, 2;
  2, 4, 1, 0;
  0, 8, 0, 0;
  1, 4, 2, 0, 2;
  2, 0, 4, 0, 4;
  1, 2, 2, 0, 2, 4;
  0, 4, 0, 0, 0, 8;
  0, 2, 1, 0, 4, 4, 2;
  0, 0, 2, 0, 8, 0, 4;
  0, 0, 1, 0, 4, 8, 2, 0;
  0, 0, 0, 0, 0, 16, 0, 0;
  2, 0, 0, 0, 2, 8, 4, 0, 1;
  4, 0, 0, 0, 4, 0, 8, 0, 2;
  2, 4, 0, 0, 2, 4, 4, 0, 1, 2;
  0, 8, 0, 0, 0, 8, 0, 0, 0, 4;
  ...
Example: Leftmost term in column 9 = 1 = (9 - (4 + 2 + 0 + 2)). Then the "1" is entered into the top heading as a multiplier. Multiply, filling in more terms, then obtain next term of left border as before.
		

Crossrefs