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.

A369294 Lexicographically earliest sequence of distinct positive integers such that a(1) = 1, a(2) = 2, a(3) = 3, and for any n > 3, A091255(a(n), a(n-2)) <> 1 and A091255(a(n), a(n-1)) = 1.

Original entry on oeis.org

1, 2, 3, 4, 5, 8, 9, 16, 7, 6, 21, 10, 35, 12, 13, 14, 23, 22, 15, 11, 17, 44, 27, 26, 29, 28, 33, 32, 31, 18, 155, 20, 81, 24, 127, 30, 49, 34, 69, 36, 173, 40, 19, 39, 38, 43, 42, 25, 45, 50, 51, 52, 53, 56, 57, 62, 63, 64, 65, 74, 71, 37, 46, 251, 48, 79
Offset: 1

Views

Author

Rémy Sigrist, Jan 18 2024

Keywords

Comments

This sequence is a variant of the Yellowstone permutation (A098550).
Is this a permutation of the positive integers?

Crossrefs

See A369293 for a similar sequence.

Programs

  • PARI
    See Links section.