This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A372166 #11 Apr 25 2024 09:11:26 %S A372166 1,2,3,4,5,6,9,8,7,10,17,11,33,18,13,16,65,14,129,12,19,34,257,20,21, %T A372166 66,15,25,513,22,1025,32,35,130,37,23,2049,258,67,24,4097,38,8193,36, %U A372166 29,514,16385,27,41,26,131,68,32769,30,49,40,259,1026,65537,28 %N A372166 Inverse permutation to A371985. %H A372166 Rémy Sigrist, <a href="/A372166/a372166_1.gp.txt">PARI program</a> %H A372166 <a href="/index/Per#IntegerPermutation">Index entries for sequences that are permutations of the natural numbers</a> %F A372166 a(prime(k)) = 2^(k-1) + 1 for any k > 0 (where prime(k) denotes the k-th prime number). %e A372166 A371985(42) = 70, so a(70) = 42. %o A372166 (PARI) \\ See Links section. %Y A372166 Cf. A355405, A371985. %K A372166 nonn %O A372166 1,2 %A A372166 _Rémy Sigrist_, Apr 21 2024