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.

A358121 Distinct values of A358085, in order of appearance.

Original entry on oeis.org

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

Views

Author

Rémy Sigrist, Oct 30 2022

Keywords

Comments

This sequence is a permutation of the positive integers with inverse A358140.

Crossrefs

Programs

  • PARI
    See Links section.

Formula

a(n) <= 2^k iff n <= 2^k.

A358086 Inventory of positions ordered by odd parts of terms, as an irregular table; the first row contains 1, subsequent rows contains the 1-based positions of terms with odd part 1, followed by positions of terms with odd part 3, 5, etc. in prior rows flattened.

Original entry on oeis.org

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

Views

Author

Rémy Sigrist, Oct 30 2022

Keywords

Comments

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

Examples

			Table begins:
    1,
    1,
    1, 2,
    1, 2, 3, 4,
    1, 2, 3, 4, 5, 6, 8, 7,
    1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 15, 7, 11, 14, 13, 16,
    ...
For n = 6:
the terms in rows 1..5 are: 1, 1, 1, 2, 1, 2, 3, 4, 1, 2, 3, 4, 5, 6, 8, 7,
- terms with odd part 1 are at positions: 1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 15,
- terms with odd part 3 are at positions: 7, 11, 14,
- terms with odd part 5 are at positions: 13,
- terms with odd part 7 are at positions: 16,
- so row 6 is: 1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 15, 7, 11, 14, 13, 16.
		

Crossrefs

Programs

  • PARI
    See Links section.
Showing 1-2 of 2 results.