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!)
A082352 Permutation of natural numbers induced by the Catalan bijection gma082352 acting on the parenthesizations encoded by A014486/A063171. 9
0, 1, 2, 3, 4, 5, 7, 8, 6, 9, 10, 11, 12, 13, 17, 18, 20, 21, 22, 14, 15, 16, 19, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 45, 46, 48, 49, 50, 54, 55, 57, 58, 59, 61, 62, 63, 64, 37, 38, 39, 40, 41, 42, 43, 44, 47, 51, 52, 53, 56, 60, 65, 66, 67, 68, 69 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

LINKS

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

A. Karttunen, Gatomorphisms (with the complete Scheme source)

Index entries for signature-permutations induced by Catalan automorphisms

PROG

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

(define (gma082352! s) (cond ((not (pair? s)) s) ((not (pair? (car s))) s) ((not (pair? (caar s))) (swap! (robr! s))) (else (robr! s))))

(define (robr! s) (let ((ex-cdr (cdr s))) (set-cdr! s (caar s)) (set-car! (car s) ex-cdr) (swap! (car s)) (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 A082351. a(n) = A057163(A082354(A057163(n))). Cf. also A074679-A074680, A082355-A082356, A082361-A082362.

Sequence in context: A265566 A265550 A306012 * A122320 A123713 A089855

Adjacent sequences:  A082349 A082350 A082351 * A082353 A082354 A082355

KEYWORD

nonn

AUTHOR

Antti Karttunen, Apr 17 2003

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 16 03:30 EST 2019. Contains 319184 sequences. (Running on oeis4.)