login
A353661
Inverse permutation to A353660.
2
0, 2, 1, 4, 8, 7, 3, 6, 5, 10, 14, 13, 18, 26, 25, 17, 24, 23, 9, 12, 11, 16, 22, 21, 15, 20, 19, 28, 32, 31, 36, 44, 43, 35, 42, 41, 48, 56, 55, 64, 80, 79, 63, 78, 77, 47, 54, 53, 62, 76, 75, 61, 74, 73, 27, 30, 29, 34, 40, 39, 33, 38, 37, 46, 52, 51, 60, 72
OFFSET
0,2
FORMULA
a(n) < 3^k iff n < 3^k.
EXAMPLE
A353660(7) = 5, so a(5) = 7.
PROG
(PARI) See Links section.
CROSSREFS
Cf. A353660.
Sequence in context: A118272 A112173 A058543 * A156817 A008301 A363386
KEYWORD
nonn,look,base
AUTHOR
Rémy Sigrist, May 02 2022
STATUS
approved