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.

A124730 Triangle, row sums = powers of 3.

Original entry on oeis.org

1, 1, 2, 1, 6, 2, 1, 14, 8, 4, 1, 30, 22, 24, 4, 1, 62, 52, 92, 28, 8, 1, 126, 114, 288, 120, 72, 8, 1, 254, 240, 804, 408, 384, 80, 16, 1, 510, 494, 2088, 1212, 1584, 46, 192, 16
Offset: 0

Views

Author

Keywords

Comments

In A124731, we switch the diagonals. In both triangles, row sums = powers of 3.

Examples

			Row 2 = (1, 6, 2) since [1,0,0; 2,2,0; 0,1,1]^2 * [1,0,0] = [1,6,2].
First few rows of the triangle are:
1;
1, 2;
1, 6, 2;
1, 14, 8, 4;
1, 30, 22, 24, 4;
1, 62, 52, 92, 28, 8;
1, 126, 114, 288, 120, 72, 8;
...
		

Crossrefs

Formula

Let M = the infinite bidiagonal matrix with (1,2,1,2...) in the main diagonal and (2,1,2,1...) in the subdiagonal. The n-th row of the triangle (extracting the zeros) = M^n * [1,0,0,0...].

A124731 Triangle, row sums = powers of 3, companion to A124730.

Original entry on oeis.org

1, 2, 1, 4, 3, 2, 8, 7, 10, 2, 16, 15, 34, 12, 4, 32, 31, 98, 46, 32, 4, 64, 63, 258, 144, 156, 36, 8, 128, 127, 642, 402, 600, 192, 88, 8, 256, 255, 1538, 1044, 2004, 792, 560, 96, 16
Offset: 0

Views

Author

Keywords

Comments

In A124730, the diagonals are switched. Row sums are powers of 3 in both triangles.

Examples

			Row 2 = (4, 3, 2) since (using the 3 X 3 matrix m = [2,0,0; 1,1,0; 0,2,2]), m^2 * [1,0,0] = [4,3,2].
First few rows of the triangle are:
1;
2, 1;
4, 3, 2;
8, 7, 10, 2;
16, 15, 34, 12, 4;
32, 31, 98, 46, 32, 4;
64, 63, 258, 144, 156, 36, 8;
...
		

Crossrefs

Formula

Let M = the infinite bidiagonal matrix with (2,1,2,1...) in the main diagonal and (1,2,1,2...) in the subdiagonal. Extracting finite n X n matrices of this form, we take M^n * [1,0,0,0...].
Showing 1-2 of 2 results.