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!)
A089866 Permutation of natural numbers induced by Catalan Automorphism *A089866 acting on the parenthesizations/binary trees encoded by A014486/A063171. 7

%I #15 Mar 31 2012 14:02:27

%S 0,1,2,3,4,5,6,8,7,9,10,11,12,13,14,15,19,21,22,16,17,18,20,23,24,25,

%T 26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,51,52,56,58,59,60,62,

%U 63,64,42,43,44,45,46,47,48,49,50,53,54,55,57,61,65,66,67,68,69

%N Permutation of natural numbers induced by Catalan Automorphism *A089866 acting on the parenthesizations/binary trees encoded by A014486/A063171.

%C This bijection of binary trees is obtained when we apply bijection *A074680 to the left subtree and keep the right subtree intact.

%C .A...B...............B...C

%C ..\./.................\./

%C ...x...C....-->....A...x.................()..B.........B...()....

%C ....\./.............\./...................\./....-->....\./.....

%C .....x...D...........x...D.................x...C.........x...C..

%C ......\./.............\./...................\./...........\./...

%C .......x...............x.....................x.............x....

%C ................................................................

%C Compare to A154122.

%C See "Catalan bijections" OEIS-Wiki page for a detailed explanation how to obtain a given integer sequence from this definition.

%H A. Karttunen, <a href="http://oeis.org/wiki/Catalan_bijections">Catalan bijections</a>

%H A. Karttunen, <a href="/A089408/a089408.c.txt">C-program for computing this sequence</a>

%H <a href="/index/Per#IntegerPermutationCatAuto">Index entries for signature-permutations induced by Catalan automorphisms</a>

%o (Two Scheme-functions implementing this automorphism on list-structures/S-expressions, constructive (*A089866) and destructive (*A089866!) version:)

%o (define (*A089866 s) (cond ((pair? s) (cons (*A074680 (car s)) (cdr s))) (else s)))

%o (define (*A089866! s) (if (pair? s) (*A074680! (car s))) s)

%Y Row 4299 of A089840. Inverse of A089865. a(n) = A069770(A154122(A069770(n))).

%Y Number of cycles: A089844. Number of fixed-points: A005807 (prepended with two 1's). Max. cycle size: A089410. LCM of cycle sizes: A089845 (in each range limited by A014137 and A014138).

%K nonn

%O 0,3

%A _Antti Karttunen_, Dec 20 2003

%E Further comments and constructive version of Scheme-implementation added by _Antti Karttunen_, Jun 04 2011

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 19 16:08 EDT 2024. Contains 371794 sequences. (Running on oeis4.)