login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A085162
Permutation of natural numbers induced by Catalan Automorphism *A085162.
4
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, 31, 58, 42, 43, 30, 26, 49, 57, 56, 35, 63, 37, 40, 39, 38, 41, 28, 29, 25, 24, 46, 48, 47, 32, 59, 54, 55, 53, 51, 52, 34, 33, 27, 50, 62, 61, 60, 36, 64, 65, 129, 128, 87, 170
OFFSET
0,3
PROG
(Scheme implementation (destructive) of this automorphism on list-structures/S-expressions. That is, this is just a A057163-conjugate of A085161:)
(define (*A085162! s) (*A057163! (*A085161! (*A057163! s))))
CROSSREFS
a(n) = A057163(A085161(A057163(n))). Cf. also A085165, A085166, A086431. Occurs in A073200.
Number of cycles: A007123. Number of fixed points: A001405 (in each range limited by A014137 and A014138).
Sequence in context: A270425 A332212 A085161 * A182178 A326316 A361444
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jun 23 2003
STATUS
approved