Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A089863
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A089863 Permutation of natural numbers induced by the Catalan automorphism gma089863 acting on the binary trees/parenthesizations encoded by A014486/A063171. +0
20
0, 1, 3, 2, 7, 8, 6, 5, 4, 17, 18, 20, 21, 22, 16, 19, 15, 12, 13, 14, 11, 9, 10, 45, 46, 48, 49, 50, 54, 55, 57, 58, 59, 61, 62, 63, 64, 44, 47, 53, 56, 60, 43, 52, 40, 31, 32, 41, 34, 35, 36, 42, 51, 39, 30, 33, 37, 28, 23, 24, 38, 29, 25, 26, 27, 129, 130, 132, 133, 134 (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 (gma089863! s) (cond ((pair? s) (cond ((pair? (car s)) (swap! (car 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 A089859. a(n) = A089850(A069770(n)) = A069770(A089854(n)). Row 21 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: A069889 A131000 A122351 this_sequence A069767 A127378 A122302

Adjacent sequences: A089860 A089861 A089862 this_sequence A089864 A089865 A089866

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 August 19 23:53 EDT 2008. Contains 142930 sequences.


AT&T Labs Research