login
A374789
Distinct values of A374560, in order of appearance, with offset 0.
3
0, 1, 3, 2, 4, 9, 5, 6, 10, 7, 12, 11, 8, 13, 27, 14, 15, 18, 28, 16, 19, 30, 29, 17, 21, 20, 31, 22, 36, 32, 33, 23, 24, 37, 34, 25, 39, 38, 35, 26, 40, 81, 41, 42, 45, 54, 82, 43, 46, 55, 84, 83, 44, 48, 47, 57, 56, 85, 49, 58, 90, 86, 87, 50, 51, 63, 59, 60
OFFSET
0,3
COMMENTS
This sequence is a permutation of the nonnegative integers with inverse A374790.
This sequence has infinitely many fixed points (A003462 among others).
FORMULA
a(n) <= A003462(k) for any n <= A003462(k).
EXAMPLE
The first terms of A374560 alongside the first terms of this sequence are:
m A374560(m) n a(n)
-- ---------- - ----
0 0 0 0
1 1 1 1
2 1
3 3 2 3
4 2 3 2
5 3
6 4 4 4
7 4
8 4
9 4
10 9 5 9
11 5 6 5
12 6 7 6
PROG
(PARI) \\ See Links section.
CROSSREFS
Cf. A003462, A374560, A374790 (inverse).
Sequence in context: A019916 A201838 A099257 * A325909 A270701 A083762
KEYWORD
nonn,base
AUTHOR
Rémy Sigrist, Jul 20 2024
STATUS
approved