A341336 Inverse permutation to A341335.
0, 1, 3, 2, 7, 6, 5, 4, 14, 15, 12, 13, 11, 10, 9, 8, 29, 28, 31, 30, 25, 24, 27, 26, 23, 22, 21, 20, 19, 18, 17, 16, 59, 58, 57, 56, 63, 62, 61, 60, 50, 51, 48, 49, 54, 55, 52, 53, 46, 47, 44, 45, 42, 43, 40, 41, 39, 38, 37, 36, 35, 34, 33, 32, 119, 118, 117
Offset: 0
Examples
A341335(42) = 52, so a(52) = 42.
Links
Crossrefs
Cf. A341335.
Programs
-
PARI
a(n) = { my (c=binary(n), b=c); for (m=1, #b, fordiv (m, d, if (d
Comments