Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A072788
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A072788 Inverse permutation to A072787. +0
4
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; listen)
OFFSET

0,3

LINKS

A. Karttunen, Gatomorphisms

Index entries for sequences that are permutations of the natural numbers

PROGRAM

(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.

Adjacent sequences: A072785 A072786 A072787 this_sequence A072789 A072790 A072791

Sequence in context: A127541 A053219 A083087 this_sequence A085178 A126313 A125979

KEYWORD

nonn,tabl

AUTHOR

Antti Karttunen Jun 12 2002

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified October 10 20:39 EDT 2008. Contains 144831 sequences.


AT&T Labs Research