login
Inverse of permutation in A332977.
2

%I #10 Mar 05 2020 18:49:24

%S 1,2,3,4,5,6,9,7,8,10,17,11,33,18,12,13,65,14,129,19,20,34,257,21,15,

%T 66,16,35,513,22,1025,23,36,130,24,25,2049,258,67,37,4097,38,8193,68,

%U 26,514,16385,39,27,28,131,132,32769,29,40,69,259,1026,65537,41

%N Inverse of permutation in A332977.

%C Permutation of the natural numbers A000027 with fixed points 1, 2, 3, 4, 5, 6, 10, ... and inverse permutation A332977 (with offset 1).

%H Alois P. Heinz, <a href="/A332990/b332990.txt">Table of n, a(n) for n = 1..20000</a>

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

%F a(p) = 1 + 2^(pi(p)-1) = A094373(A000720(p)) for prime p.

%Y Cf. A000027, A000040, A000720 (pi), A094373, A332977.

%K nonn

%O 1,2

%A _Alois P. Heinz_, Mar 05 2020