login
Inverse permutation to A072764.
3

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

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

%T 91,105,120,136,153,171,190,210,231,253,276,20,27,35,44,54,13,19,17,

%U 46,56,23,67,79,92,18,25,30,106,121,38,137,154,172,47,191,211,232,254,300

%N Inverse permutation to A072764.

%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 (A072765 n) (cond ((zero? n) n) (else (1+ (packA001477 (A072771 n) (A072772 n))))))

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

%K nonn

%O 0,3

%A _Antti Karttunen_, Jun 12 2002