login
Inverse permutation to A072766.
3

%I #6 May 01 2014 02:47:42

%S 0,1,2,3,4,7,5,6,10,11,16,22,29,37,8,12,9,15,21,14,28,36,45,46,56,67,

%T 79,92,106,121,137,154,172,191,211,232,254,17,23,30,38,47,13,18,20,55,

%U 66,27,78,91,105,19,25,35,120,136,44,153,171,190,54,210,231,253,276

%N Inverse permutation to A072766.

%H A. Karttunen, <a href="http://www.iki.fi/~kartturi/matikka/Nekomorphisms/gatomorf.htm">Gatomorphisms</a> (with the complete Scheme source)

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

%o (Scheme function showing the general idea:) (define (A072767 n) (cond ((zero? n) n) (else (1+ (packA001477 (A072772 n) (A072771 n))))))

%Y Cf. A072765, A001477, A072771, A072772.

%K nonn

%O 0,3

%A _Antti Karttunen_, Jun 12 2002