%I #10 Jun 28 2013 02:44:27
%S 0,1,3,2,4,6,5,7,10,8,11,9,12,15,13,16,14,17,21,18,22,19,23,20,24,28,
%T 25,29,26,30,27,31,36,32,37,33,38,34,39,35,40,45,41,46,42,47,43,48,44,
%U 49,55,50,56,51,57,52,58,53,59,54,60,66,61,67,62,68,63,69,64,70,65,71,78
%N Permutation of the natural numbers in conjunction with A116939 and A003056.
%C Inverse: A116941;
%C A116939(n) = A003056(a(n)).
%H Reinhard Zumkeller, <a href="/A116942/b116942.txt">Table of n, a(n) for n = 0..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)
%o import Data.Maybe (fromJust)
%o a116942 = fromJust . (`elemIndex` a116941_list)
%o -- _Reinhard Zumkeller_, Jun 28 2013
%K nonn
%O 0,3
%A _Reinhard Zumkeller_, Feb 27 2006