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.
%I A085162 #10 Mar 31 2012 14:02:27 %S A085162 0,1,2,3,4,7,6,5,8,9,17,16,12,21,14,15,11,10,18,20,19,13,22,23,45,44, %T A085162 31,58,42,43,30,26,49,57,56,35,63,37,40,39,38,41,28,29,25,24,46,48,47, %U A085162 32,59,54,55,53,51,52,34,33,27,50,62,61,60,36,64,65,129,128,87,170 %N A085162 Permutation of natural numbers induced by Catalan Automorphism *A085162. %H A085162 A. Karttunen, <a href="http://oeis.org/wiki/Catalan_Automorphisms">Catalan Automorphisms</a> %H A085162 <a href="/index/Per#IntegerPermutationCatAuto">Index entries for signature-permutations induced by Catalan automorphisms</a> %o A085162 (Scheme implementation (destructive) of this automorphism on list-structures/S-expressions. That is, this is just a A057163-conjugate of A085161:) %o A085162 (define (*A085162! s) (*A057163! (*A085161! (*A057163! s)))) %Y A085162 a(n) = A057163(A085161(A057163(n))). Cf. also A085165, A085166, A086431. Occurs in A073200. %Y A085162 Number of cycles: A007123. Number of fixed points: A001405 (in each range limited by A014137 and A014138). %K A085162 nonn %O A085162 0,3 %A A085162 _Antti Karttunen_, Jun 23 2003