Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.
%I #9 Nov 30 2014 03:30:15
%S 2,1,5,3,6,7,11,4,10,9,13,14,15,19,23,8,12,17,21,18,22,25,27,20,26,28,
%T 29,30,31,39,47,16,24,33,37,34,35,41,43,36,38,44,45,42,46,51,55,40,50,
%U 49,53,54,57,58,59,52,60,61,62,63,79,87,95,32,48,56,69,65,67,71,75,66
%N Inverse of A094511.
%C Permutation of the natural numbers: A094511(a(n))=a(A094511(n))=n.
%H Reinhard Zumkeller, <a href="/A094512/b094512.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 a094512 = (+ 1) . fromJust . (`elemIndex` a094511_list)
%o -- _Reinhard Zumkeller_, Nov 23 2014
%Y Cf. A007088, A000120, A094514.
%K nonn
%O 1,1
%A _Reinhard Zumkeller_, May 06 2004