login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

Inverse permutation to A361481.
2

%I #8 Mar 16 2023 12:05:23

%S 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,

%T 24,27,30,20,17,31,32,34,37,41,47,53,48,42,38,54,58,55,49,56,39,35,59,

%U 43,50,61,51,57,52,44,62,45,40,46,60,36,33,63,64,66,69,73

%N Inverse permutation to A361481.

%H Rémy Sigrist, <a href="/A361482/b361482.txt">Table of n, a(n) for n = 0..8191</a>

%H Rémy Sigrist, <a href="/A361482/a361482.gp.txt">PARI program</a>

%H <a href="/index/Per#IntegerPermutation">Index entries for sequences that are permutations of the natural numbers</a>

%F a(2^k - 1) = 2^k - 1 for any k >= 0.

%F a(2^k) = 2^k for any k >= 0.

%e A361481(42) = 39, so a(39) = 42.

%o (PARI) See Links section.

%Y Cf. A361481.

%K nonn,base

%O 0,3

%A _Rémy Sigrist_, Mar 14 2023