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

A202692 The first of three triangles counting 3-colored alternating permutations by their last value.

Original entry on oeis.org

1, 0, 1, 9, 9, 8, 0, 9, 18, 26, 405, 405, 396, 378, 352, 0, 405, 810, 1206, 1584, 1936, 44469, 44469, 44064, 43254, 42048, 40464, 38528, 0, 44469, 88938, 133002, 176256, 218304, 258768, 297296, 9086985, 9086985, 9042516, 8953578, 8820576, 8644320, 8426016, 8167248, 7869952
Offset: 1

Views

Author

N. J. A. Sloane, Dec 23 2011

Keywords

Comments

"The table counting alternating permutations with r colors by their last value is obtained by the following algorithm: first separate the picture by the column p = 0 and then compute r triangles. Put 1 at the top of each triangle and compute the rest as follows: fill the second row of all triangles as the sum of the elements of the first row strictly to their left. Then fill the third row of all triangles as the sum of the elements of the previous row to their right. Compute all rows successively by reading from left to right and right to left alternately." [Joshuat-Verges et al.]

Examples

			The triangle begins:
1
0 1
9 9 8
0 9 18 26
405 405 396 378 352
...
The three triangles together:
1                     1                      1
0 1                   1 2                    2 3
9 9 8                 8 7 5                  5 3 0
0 9 18 26             26 34 41 46            46 51 54 54
405 405 396 378 352   352 326 292 251 205    205 159 108 54 0
		

Crossrefs

The three triangles with initial 1,1,1 are A202692, A202693, A202694; with 1,0,0: A202695, A202696, A202697; with 0,1,0: A202698, A202699, A202700; with 0,0,1: A202701, A202702, A202703.

Programs

  • Java
    /* Cf. link */

Extensions

More terms from Georg Fischer, Oct 20 2021

A202702 The second of a set of three triangles constructed by the same rule as A202692-A202694, but where the top entries in the three triangles are 0,0,1 respectively.

Original entry on oeis.org

0, 0, 0, 1, 1, 1, 3, 4, 5, 6, 47, 44, 40, 35, 29
Offset: 1

Views

Author

N. J. A. Sloane, Dec 23 2011

Keywords

Examples

			Triangle begins:
0
0 0
1 1 1
3 4 5 6
47 44 40 35 29
...
		

Crossrefs

See A202701 for further information.

A202703 The third of a set of three triangles constructed by the same rule as A202692-A202694, but where the top entries in the three triangles are 0,0,1 respectively.

Original entry on oeis.org

1, 0, 1, 1, 1, 0, 6, 7, 8, 8, 29, 23, 16, 8, 0
Offset: 1

Views

Author

N. J. A. Sloane, Dec 23 2011

Keywords

Examples

			Triangle begins:
1
0 1
1 1 0
6 7 8 8
29 23 16 8 0
...
		

Crossrefs

See A202701 for further information.
Showing 1-3 of 3 results.