login
Inverse permutation to A066248.
3

%I #6 Mar 30 2012 18:50:19

%S 3,1,5,2,7,4,8,6,9,10,11,12,13,16,14,18,15,22,17,28,19,30,20,36,21,40,

%T 23,42,24,46,25,52,26,58,27,60,29,66,31,70,32,72,33,78,34,82,35,88,37,

%U 96,38,100,39,102,41,106,43,108,44,112,45,126,47,130,48,136,49,138,50

%N Inverse permutation to A066248.

%C Permutation of natural numbers.

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

%F a(n) = (if n is even then A000040(n/2) else A002808((n+1)/2)) - 1.

%Y Cf. A066248, A000040, A002808, A066251, A066253.

%K nonn

%O 1,1

%A _Reinhard Zumkeller_, Dec 09 2001