login
Inverse permutation to A355435.
2

%I #8 Jul 04 2022 13:57:06

%S 1,2,4,3,8,5,16,6,13,7,32,12,64,15,9,11,128,20,256,10,17,31,512,14,25,

%T 63,29,18,1024,24,2048,22,33,127,49,21,4096,255,61,23,8192,28,16384,

%U 30,52,511,32768,19,113,26,125,62,65536,36,57,27,253,1023,131072

%N Inverse permutation to A355435.

%H Rémy Sigrist, <a href="/A355436/b355436.txt">Table of n, a(n) for n = 1..10000</a>

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

%F a(prime(n)) = 2^n for any n > 0 (where prime(n) denotes the n-th prime number).

%e A355435(28) = 42, so a(42) = 28.

%o (PARI) See Links section.

%Y Cf. A355435.

%K nonn

%O 1,2

%A _Rémy Sigrist_, Jul 02 2022