login
Inverse permutation to A355065.
2

%I #5 Jun 19 2022 06:33:35

%S 1,2,3,5,4,7,11,13,17,19,6,23,29,31,37,41,43,47,49,53,59,61,8,9,67,71,

%T 73,79,83,89,97,101,103,107,109,113,127,131,77,137,139,149,151,157,

%U 163,167,10,173,179,181,191,193,197,199,211,223,227,229,233,239

%N Inverse permutation to A355065.

%C This sequence has similarities with the Two-Up sequence (A090252) as a(n) is coprime to the next n terms (and to the floor(n/2) previous terms).

%C Prime numbers appear in their natural order.

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

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

%e A355065(77) = 39, so a(39) = 77.

%o (PARI) See Links section.

%Y Cf. A090252, A355065.

%K nonn

%O 1,2

%A _Rémy Sigrist_, Jun 17 2022