A360434 a(n) is the greatest number k not yet in the sequence such that A022290(n) = A022290(k).
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
Examples
There are three numbers k such that A022290(k) = 11: 15, 19, 20, - so a(15) = 20, a(19) = 19, a(20) = 15.
Links
- Rémy Sigrist, Table of n, a(n) for n = 0..10922
- Rémy Sigrist, PARI program
- Index entries for sequences that are permutations of the natural numbers
Programs
-
PARI
See Links section.
Comments