%I #7 Mar 31 2012 13:21:12
%S 0,1,3,2,6,7,8,4,5,14,15,16,17,18,21,22,19,9,10,20,11,12,13,37,38,39,
%T 40,41,42,43,44,45,46,47,48,49,50,58,59,62,63,64,56,60,51,23,24,52,25,
%U 26,27,57,61,53,28,29,54,30,31,32,55,33,34,35,36,107,108,109,110,111
%N Signature permutation of a nonrecursive Catalan automorphism: row 65518 of table A089840.
%H A. Karttunen, <a href="/A089840/a089840p.txt">Prolog-program which illustrates the construction of this and other similar nonrecursive Catalan automorphisms.</a>
%H <a href="/index/Per#IntegerPermutationCatAuto">Index entries for signature-permutations of Catalan automorphisms</a>
%o (Scheme function, destructive implementation of this automorphism acting on S-expressions:) (define (*A123495! s) (cond ((null? s) s) ((and (pair? (car s)) (pair? (cdr s))) (*A069770! s) (*A074679! s)) (else (*A074679! s))) s)
%Y Inverse: A123496. a(n) = A082351(A069770(n)). Row 65518 of A089840. Used to construct automorphism *A082357. Cf. A069770 and A074679.
%K nonn
%O 0,3
%A _Antti Karttunen_, Oct 11 2006