login
A365080
Inverse permutation to A364885.
2
0, 1, 3, 2, 6, 4, 9, 5, 10, 7, 13, 8, 27, 14, 54, 20, 15, 11, 18, 12, 34, 19, 64, 26, 65, 35, 104, 44, 405, 119, 1539, 230, 21, 16, 24, 17, 42, 25, 75, 33, 76, 43, 118, 53, 433, 134, 1594, 251, 135, 77, 189, 90, 629, 209, 2144, 377, 2210, 665, 5564, 1034
OFFSET
0,3
FORMULA
a(2^k) = A000217(k + 1) for any k >= 0.
Apparently, a(2^k-1) = A006893(k) for any k > 0.
EXAMPLE
A364885(42) = 36, hence a(36) = 42.
PROG
(PARI) See Links section.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Rémy Sigrist, Aug 20 2023
STATUS
approved