login

Revision History for A082335

(Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing all changes.
Permutation of natural numbers induced by the Catalan bijection gma082335 acting on the parenthesizations encoded by A014486/A063171.
(history; published version)
#8 by N. J. A. Sloane at Thu Oct 15 10:55:24 EDT 2015
NAME

Permutation of natural numbers induced by the gatomorphism Catalan bijection gma082335 acting on the parenthesizations encoded by A014486/A063171.

COMMENTS

This gatomorphism Catalan bijection rotates binary trees left, if possible, otherwise reflects them with the gatomorphism Catalan bijection A057163.

Discussion
Thu Oct 15
10:55
OEIS Server: https://oeis.org/edit/global/2466
#7 by Russ Cox at Sat Mar 31 14:02:19 EDT 2012
AUTHOR

_Antti Karttunen (Firstname.Surname(AT)iki.fi), _, Apr 17 2003

Discussion
Sat Mar 31
14:02
OEIS Server: https://oeis.org/edit/global/914
#6 by Russ Cox at Sun Jul 10 18:39:49 EDT 2011
LINKS

<a href="/Sindx_index/Per.html#IntegerPermutationCatAuto">Index entries for signature-permutations induced by Catalan automorphisms</a>

Discussion
Sun Jul 10
18:39
OEIS Server: https://oeis.org/edit/global/66
#5 by N. J. A. Sloane at Thu Nov 11 07:34:06 EST 2010
LINKS

<a href="/Sindx_Per.html#IntegerPermutationCatAuto">Index entries for signature-permutations induced by Catalan automorphisms</a>

KEYWORD

nonn,new

nonn

#4 by N. J. A. Sloane at Fri Feb 27 03:00:00 EST 2009
LINKS

A. Karttunen, <A HREFa href="http://www.iki.fi/~kartturi/matikka/Nekomorphisms/gatomorf.htm">Gatomorphisms</Aa> (with the complete Scheme source)

<A HREFa href="http://www.research.att.com/~njas/sequences/Sindx_Per.html#IntegerPermutationCatAuto">Index entries for signature-permutations induced by Catalan automorphisms</Aa>

KEYWORD

nonn,new

nonn

#3 by N. J. A. Sloane at Sat Jun 12 03:00:00 EDT 2004
CROSSREFS

Number of fixpointsfixed-points: A019590. (In range [A014137(n-1)..A014138(n-1)] of this permutation, possibly shifted one term left or right).

KEYWORD

nonn,new

nonn

#2 by N. J. A. Sloane at Sat Sep 13 03:00:00 EDT 2003
CROSSREFS

Cf. Number of fixpoints: A019590. (In range [A014137(n-1)..A014138(n-1)] of this permutation, possibly shifted one term left or right).

KEYWORD

nonn,new

nonn

#1 by N. J. A. Sloane at Fri May 16 03:00:00 EDT 2003
NAME

Permutation of natural numbers induced by the gatomorphism gma082335 acting on the parenthesizations encoded by A014486/A063171.

DATA

0, 1, 3, 2, 6, 7, 8, 5, 4, 14, 15, 16, 17, 18, 19, 20, 21, 13, 12, 22, 11, 10, 9, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 36, 35, 59, 34, 32, 31, 60, 61, 62, 33, 30, 63, 29, 27, 26, 64, 28, 25, 24, 23, 107, 108, 109, 110, 111

OFFSET

0,3

COMMENTS

This gatomorphism rotates binary trees left, if possible, otherwise reflects them with the gatomorphism A057163.

LINKS

A. Karttunen, <A HREF="http://www.iki.fi/~kartturi/matikka/Nekomorphisms/gatomorf.htm">Gatomorphisms</A> (with the complete Scheme source)

<A HREF="http://www.research.att.com/~njas/sequences/Sindx_Per.html#IntegerPermutationCatAuto">Index entries for signature-permutations induced by Catalan automorphisms</A>

PROG

(Scheme functions implementing this automorphism on list-structures:)

(define (gma082335! s) (cond ((pair? s) (cond ((pair? (cdr s)) (robl! s)) (else (gma057163! 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 A082336. Cf. also A074679-A074680, A082349-A082350.

Cf. Number of fixpoints: A019590. (In range [A014137(n-1)..A014138(n-1)] of this permutation, possibly shifted one term left or right).

KEYWORD

nonn

AUTHOR

Antti Karttunen (Firstname.Surname(AT)iki.fi), Apr 17 2003

STATUS

approved