login
Inverse permutation to A249167.
4

%I #4 Mar 12 2015 14:04:49

%S 1,2,3,6,7,13,12,4,25,9,17,8,24,20,5,32,37,11,38,16,10,15,44,18,49,22,

%T 23,14,54,28,65,30,21,35,43,27,70,40,26,33,78,45,83,29,57,42,88,34,96,

%U 47,39,31,106,55,19,50,36,52,115,41,120,63,59,48,73,66

%N Inverse permutation to A249167.

%H Reinhard Zumkeller, <a href="/A255940/b255940.txt">Table of n, a(n) for n = 1..10000</a>

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

%o (Haskell)

%o import Data.List (elemIndex); import Data.Maybe (fromJust)

%o a255940 = (+ 1) . fromJust . (`elemIndex` a249167_list)

%Y Cf. A249167 (inverse), A098551, A255479.

%K nonn

%O 1,2

%A _Reinhard Zumkeller_, Mar 12 2015