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!)
A154124 Signature permutation of a Catalan bijection: row 3748 of A089840. 4
0, 1, 2, 3, 6, 4, 5, 7, 8, 16, 19, 9, 10, 11, 15, 14, 12, 17, 18, 13, 20, 21, 22, 44, 47, 53, 56, 60, 23, 24, 25, 26, 27, 28, 29, 30, 33, 43, 52, 37, 38, 39, 40, 42, 31, 45, 46, 32, 48, 49, 50, 41, 51, 34, 54, 55, 35, 57, 58, 59, 36, 61, 62, 63, 64, 128, 131, 137, 140, 144 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
COMMENTS
This bijection of binary trees is obtained in the following way. (Inverse of Thompson's B!):
.B...C...............C...D
..\./.................\./
...x...D....-->....B...x.................()..C ........A...()
....\./.............\./...................\./....-->....\./...
.A...x...........A...x.................A...x.........C...x....
..\./.............\./...................\./...........\./.....
...x...............x.....................x.............x......
..............................................................
That is, (a . ((b . c) . d)) -> (a . (b . (c . d)))
or (a . (() . c)) -> (c . (a . ())) if the former is not possible.
LINKS
PROG
(Destructive version of this automorphism in Scheme:) (define (*A154124! s) (if (and (pair? s) (pair? (cdr s)) (pair? (cadr s))) (*A074680! (cdr s)) (*A089853! s)) s)
CROSSREFS
Inverse: A154123. Cf. A154122.
Sequence in context: A131144 A131147 A130984 * A089853 A122306 A122309
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jan 06 2009
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 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)