cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

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

This page as a plain text file.
%I A082351 #6 Oct 15 2015 10:55:24
%S A082351 0,1,2,3,4,5,8,6,7,9,10,11,12,13,19,20,21,14,15,22,16,17,18,23,24,25,
%T A082351 26,27,28,29,30,31,32,33,34,35,36,51,52,53,54,55,56,57,58,37,38,59,39,
%U A082351 40,41,60,61,62,42,43,63,44,45,46,64,47,48,49,50,65,66,67,68,69
%N A082351 Permutation of natural numbers induced by the Catalan bijection gma082351 acting on the parenthesizations encoded by A014486/A063171.
%H A082351 A. Karttunen, <a href="http://www.iki.fi/~kartturi/matikka/Nekomorphisms/gatomorf.htm">Gatomorphisms</a> (with the complete Scheme source)
%H A082351 <a href="/index/Per#IntegerPermutationCatAuto">Index entries for signature-permutations induced by Catalan automorphisms</a>
%o A082351 (Scheme functions implementing this automorphism on list-structures:)
%o A082351 (define (gma082351! s) (cond ((not (pair? s)) s) ((not (pair? (car s))) s) ((not (pair? (cdr s))) (robl! (swap! s))) (else (robl! s))))
%o A082351 (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))
%o A082351 (define (swap! s) (let ((ex-car (car s))) (set-car! s (cdr s)) (set-cdr! s ex-car) s))
%Y A082351 Inverse of A082352. a(n) = A057163(A082353(A057163(n))). Cf. also A074679-A074680, A082355-A082356, A082361-A082362.
%K A082351 nonn
%O A082351 0,3
%A A082351 _Antti Karttunen_, Apr 17 2003