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.

A358123 Distinct values of A358090, in order of appearance.

Original entry on oeis.org

1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 9, 12, 13, 15, 17, 16, 19, 14, 18, 20, 21, 24, 22, 26, 28, 25, 29, 31, 27, 23, 32, 30, 33, 34, 36, 40, 42, 38, 44, 46, 39, 47, 43, 49, 51, 41, 35, 50, 37, 45, 53, 48, 52, 54, 55, 59, 63, 67, 65, 57, 71, 61, 69, 73, 75, 62, 74
Offset: 1

Views

Author

Rémy Sigrist, Oct 30 2022

Keywords

Comments

This sequence is a permutation of the positive integers with A358142.

Crossrefs

Programs

  • PARI
    See Links section.

A358120 Partial inventory of positions as an irregular table; rows 1 and 2 contain 1, for n > 2, row n contains the 1-based positions of 1's, followed by the positions of 2's, 3's, etc. in rows n-1 and n-2 flattened.

Original entry on oeis.org

1, 1, 1, 2, 1, 3, 2, 1, 4, 3, 5, 2, 1, 6, 5, 8, 3, 7, 2, 4, 1, 9, 7, 13, 5, 11, 8, 10, 3, 12, 2, 6, 4, 1, 14, 11, 20, 9, 18, 13, 21, 5, 16, 12, 15, 3, 19, 7, 17, 2, 8, 6, 10, 4, 1, 22, 17, 32, 13, 30, 21, 34, 9, 26, 19, 33, 15, 24, 18, 28, 5, 23, 20, 29, 3, 27, 11, 31, 7, 25, 2, 12, 10, 16, 6, 14, 4, 8
Offset: 1

Views

Author

Rémy Sigrist, Oct 30 2022

Keywords

Comments

The n-th row contains A000045(n) terms, and is a permutation of 1..A000045(n).

Examples

			Table begins:
    1,
    1,
    1, 2,
    1, 3, 2,
    1, 4, 3, 5, 2,
    1, 6, 5, 8, 3, 7, 2, 4,
    1, 9, 7, 13, 5, 11, 8, 10, 3, 12, 2, 6, 4,
    ...
For n = 7:
- terms in rows 6 and 5 are: 1, 6, 5, 8, 3, 7, 2, 4, 1, 4, 3, 5, 2,
- positions of 1's are: 1, 9,
- positions of 2's are: 7, 13,
- positions of 3's are: 5, 11,
- positions of 4's are: 8, 10,
- positions of 5's are: 3, 12,
- positions of 6's are: 2,
- positions of 7's are: 6,
- positions of 8's are: 4,
- so row 7 is: 1, 9, 7, 13, 5, 11, 8, 10, 3, 12, 2, 6, 4.
		

Crossrefs

See A358090 for a similar sequence.

Programs

  • PARI
    See Links section.

Formula

T(n, 1) = 1.
T(n, 2) = A001611(n-1) for n > 2.
Showing 1-2 of 2 results.