OFFSET
0,3
COMMENTS
This automorphism is illustrated below, where letters A, B, C, D, E and F refer to arbitrary subtrees located on those nodes and () stands for an implied terminal node.
.............................B...C............F...B......
..............................\./..............\./.......
...............................x...D............x...C....
................................\./..............\./.....
.................................x...E............x...D..
..................................\./.....-->......\./...
..A...B.........C...A..............x...F............x...E
...\./...........\./................\./..............\./.
....x...C...-->...x...B..........()..x............()..x..
.....\./...........\./............\./..............\./...
......x.............x..............x................x....
This is the last multiclause automorphism of total seven opened conses in the table A089840. The next nonrecursive automorphism, A089840[1786786], which consists of a single seven-node clause, swaps the first two toplevel elements (of a general plane tree, like *A072796 does), but only if A057515(n) > 6 and in other cases keeps the tree intact.
LINKS
PROG
(Scheme function, destructive implementation of this automorphism acting on S-expressions:) (define (*A123714! s) (cond ((not (pair? s)) s) ((pair? (car s)) (let ((org_a (caar s))) (set-car! (car s) (cdr s)) (set-cdr! s (cdar s)) (set-cdr! (car s) org_a) s)) ((and (pair? (cdr s)) (pair? (cadr s)) (pair? (caadr s)) (pair? (caaadr s))) (let ((org_f (cddr s))) (set-cdr! (cdr s) (cdadr s)) (set-cdr! (cadr s) (cdaadr s)) (set-cdr! (caadr s) (cdr (caaadr s))) (set-cdr! (caaadr s) (car (caaadr s))) (set-car! (caaadr s) org_f) s)) (else s)))
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Oct 11 2006
STATUS
approved