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!)
A069773 Permutation of natural numbers induced by the automorphism RoblDownCar_et_Swap! acting on the parenthesizations encoded by A014486. 7
0, 1, 3, 2, 6, 8, 7, 4, 5, 14, 15, 19, 20, 22, 16, 21, 17, 9, 10, 18, 11, 12, 13, 37, 38, 39, 40, 41, 51, 52, 53, 54, 55, 60, 61, 62, 64, 42, 43, 56, 57, 63, 44, 58, 45, 23, 24, 46, 25, 26, 27, 47, 59, 48, 28, 29, 49, 30, 31, 32, 50, 33, 34, 35, 36, 107, 108, 109, 110, 111 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
A. Karttunen, Gatomorphisms (Includes the complete Scheme program for computing this sequence)
PROG
(Scheme function implementing this automorphism on list-structures:) (define (RoblDownCar_et_Swap! s) (cond ((not (pair? s))) ((not (pair? (cdr s))) (swap! s)) (else (robl! s) (RoblDownCar_et_Swap! (car s)))) s)
(define (robl! s) (let ((ex-car (car s))) (set-car! s (cddr s)) (set-cdr! (cdr s) ex-car) (swap! (cdr 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 A069774, the car/cdr-flipped conjugate of A057501, i.e. A069773(n) = A057163(A057501(A057163(n))). Cf. also A069775.
Sequence in context: A292961 A019444 A195412 * A122321 A072093 A130925
KEYWORD
nonn
AUTHOR
Antti Karttunen, Apr 16 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 April 25 13:38 EDT 2024. Contains 371970 sequences. (Running on oeis4.)