Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A089859
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A089859 Permutation of natural numbers induced by the Catalan automorphism gma089859 acting on the binary trees/parenthesizations encoded by A014486/A063171. +0
21
0, 1, 3, 2, 8, 7, 6, 4, 5, 21, 22, 20, 17, 18, 19, 16, 14, 9, 10, 15, 11, 12, 13, 58, 59, 62, 63, 64, 57, 61, 54, 45, 46, 55, 48, 49, 50, 56, 60, 53, 44, 47, 51, 42, 37, 23, 24, 38, 25, 26, 27, 52, 43, 39, 28, 29, 40, 30, 31, 32, 41, 33, 34, 35, 36, 170, 171, 174, 175, 176, 184 (list; graph; listen)
OFFSET

0,3

LINKS

A. Karttunen, C-program for computing this sequence

Index entries for signature-permutations induced by Catalan automorphisms

PROGRAM

(Scheme functions implementing this automorphism on list-structures:)

(define (gma089859! s) (cond ((pair? s) (cond ((pair? (cdr s)) (swap! (cdr s)) (swap! s)) (else (swap! s))))) s)

(define (swap! s) (let ((ex-car (car s))) (set-car! s (cdr s)) (set-cdr! s ex-car) s))

CROSSREFS

Inverse of A089863. a(n) = A089854(A069770(n)) = A069770(A089850(n)). Row 15 of A089840. A089864 is the "square" of this permutation.

Number of cycles: A089407. Max. cycle size & LCM of all cycle sizes: A040002 (in range [A014137(n-1)..A014138(n-1)] of this permutation).

Sequence in context: A122337 A125985 A073282 this_sequence A130958 A130397 A154457

Adjacent sequences: A089856 A089857 A089858 this_sequence A089860 A089861 A089862

KEYWORD

nonn

AUTHOR

Antti Karttunen (Firstname.Surname(AT)iki.fi), Nov 29 2003

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 November 27 22:38 EST 2009. Contains 167602 sequences.


AT&T Labs Research