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

A360434 a(n) is the greatest number k not yet in the sequence such that A022290(n) = A022290(k).

Original entry on oeis.org

0, 1, 2, 4, 3, 5, 8, 9, 6, 7, 10, 16, 12, 17, 18, 20, 11, 13, 14, 19, 15, 21, 32, 33, 24, 25, 34, 36, 35, 37, 40, 41, 22, 23, 26, 28, 27, 29, 38, 39, 30, 31, 42, 64, 48, 65, 66, 68, 44, 49, 50, 67, 52, 69, 72, 73, 70, 71, 74, 80, 76, 81, 82, 84, 43, 45, 46, 51
Offset: 0

Views

Author

Rémy Sigrist, Feb 07 2023

Keywords

Comments

This sequence is a self-inverse permutation of the nonnegative integers.

Examples

			There are three numbers k such that A022290(k) = 11: 15, 19, 20,
- so a(15) = 20,
     a(19) = 19,
     a(20) = 15.
		

Crossrefs

See A360415 for a similar sequence.

Programs

  • PARI
    See Links section.

Formula

a(A345101(n, k)) = A345101(n, A000119(n) + 1 - k).
a(A003754(n+1)) = A003714(n).
a(A003714(n)) = A003754(n+1).
Showing 1-1 of 1 results.