login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
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
A. Karttunen, Gatomorphisms
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
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 28 09:04 EDT 2024. Contains 371240 sequences. (Running on oeis4.)