A361482 Inverse permutation to A361481.
0, 1, 2, 3, 4, 6, 5, 7, 8, 10, 13, 11, 14, 12, 9, 15, 16, 18, 21, 25, 22, 28, 23, 19, 29, 26, 24, 27, 30, 20, 17, 31, 32, 34, 37, 41, 47, 53, 48, 42, 38, 54, 58, 55, 49, 56, 39, 35, 59, 43, 50, 61, 51, 57, 52, 44, 62, 45, 40, 46, 60, 36, 33, 63, 64, 66, 69, 73
Offset: 0
Examples
A361481(42) = 39, so a(39) = 42.
Links
- Rémy Sigrist, Table of n, a(n) for n = 0..8191
- Rémy Sigrist, PARI program
- Index entries for sequences that are permutations of the natural numbers
Crossrefs
Cf. A361481.
Programs
-
PARI
See Links section.
Formula
a(2^k - 1) = 2^k - 1 for any k >= 0.
a(2^k) = 2^k for any k >= 0.