login
A361647
Inverse permutation to A361646.
2
0, 1, 2, 3, 4, 6, 7, 5, 8, 10, 12, 13, 14, 15, 11, 9, 16, 18, 20, 21, 24, 28, 29, 25, 26, 30, 31, 27, 22, 23, 19, 17, 32, 34, 36, 37, 40, 44, 45, 41, 48, 52, 56, 57, 58, 59, 53, 49, 50, 54, 60, 61, 62, 63, 55, 51, 42, 46, 47, 43, 38, 39, 35, 33, 64, 66, 68, 69
OFFSET
0,3
FORMULA
a(n) < 2^k iff n < 2^k.
EXAMPLE
A361646(42) = 56, so a(56) = 42.
PROG
(PARI) See Links section.
CROSSREFS
Cf. A361646.
Sequence in context: A026264 A073208 A182113 * A354901 A026236 A238862
KEYWORD
nonn,base
AUTHOR
Rémy Sigrist, Mar 19 2023
STATUS
approved