login
This site is supported by donations to The OEIS Foundation.

 

Logo

Thanks to everyone who made a donation during our annual appeal!
To see the list of donors, or make a donation, see the OEIS Foundation home page.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A072788 Inverse permutation to A072787. 5
0, 1, 3, 2, 8, 5, 4, 22, 7, 13, 10, 17, 18, 6, 9, 36, 21, 64, 19, 15, 12, 27, 46, 50, 16, 14, 41, 24, 31, 59, 58, 47, 60, 38, 37, 32, 11, 45, 20, 191, 44, 52, 120, 40, 23, 78, 63, 148, 144, 56, 43, 51, 111, 108, 35, 106, 61, 196, 168, 131, 178, 153, 150, 115, 116, 33, 29 (list; table; graph; refs; listen; history; text; internal format)
OFFSET

0,3

LINKS

Table of n, a(n) for n=0..66.

A. Karttunen, Gatomorphisms

Index entries for sequences that are permutations of the natural numbers

PROG

(Scheme functions below show the essential idea. For a complete source, follow the "Gatomorphisms" link.)

(define A072788 (arithrank->lexrank-bijection A072740 A072741))

(define (arithrank->lexrank-bijection pr1 pr2) (lambda (n) (CatalanRankGlobal (parenthesization->binexp (unrank-bintree n pr1 pr2)))))

(define (unrank-bintree rank pr1 pr2) (cond ((zero? rank) (list)) (else (cons (unrank-bintree (pr1 (-1+ rank)) pr1 pr2) (unrank-bintree (pr2 (-1+ rank)) pr1 pr2)))))

CROSSREFS

Inverse permutation: A072787. Cf. also A072740, A072741, A072789.

Sequence in context: A191724 A191433 A191437 * A085178 A146942 A126313

Adjacent sequences:  A072785 A072786 A072787 * A072789 A072790 A072791

KEYWORD

nonn,tabl

AUTHOR

Antti Karttunen, Jun 12 2002

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified January 18 16:40 EST 2019. Contains 319271 sequences. (Running on oeis4.)