login
Inverse permutation to A340402.
2

%I #13 Jan 10 2021 19:32:39

%S 0,1,3,2,5,4,6,7,12,13,15,14,9,8,10,11,20,21,23,22,17,16,18,19,24,25,

%T 27,26,29,28,30,31,51,50,48,49,54,55,53,52,63,62,60,61,58,59,57,56,39,

%U 38,36,37,34,35,33,32,43,42,40,41,46,47,45,44,89,88,90,91

%N Inverse permutation to A340402.

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

%H Rémy Sigrist, <a href="/A340478/a340478.png">Scatterplot of the first 2^16 terms</a>

%H Rémy Sigrist, <a href="/A340478/a340478.gp.txt">PARI program for A340478</a>

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

%F a(A340402(n)) = A340402(a(n)) = n.

%e A340402(41) = 59, so a(59) = 41.

%o (PARI) See Links section.

%Y Cf. A340402.

%K nonn,look,base

%O 0,3

%A _Rémy Sigrist_, Jan 09 2021