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”).

Orbit size of n in permutation A163355.
10

%I #3 Mar 31 2012 13:21:18

%S 1,1,2,2,6,3,3,6,6,6,3,3,6,3,6,3,1,3,3,3,1,1,2,2,4,2,2,4,4,2,4,2,4,8,

%T 8,4,4,2,2,4,2,2,2,2,8,8,4,4,4,4,8,8,4,2,4,2,4,8,4,8,2,2,2,2,6,6,6,6,

%U 12,6,6,12,12,12,6,6,18,18,18,6,3,3,6,6,6,3,3,6,6,6,3,3,6,3,6,3,9,18

%N Orbit size of n in permutation A163355.

%C Will all terms of A003586 eventually appear?

%H A. Karttunen, <a href="/A163890/b163890.txt">Table of n, a(n) for n = 0..262143</a>

%o (Scheme:) (define (A163890 n) (let loop ((i 1) (nn (A163355 n))) (cond ((= nn n) i) (else (loop (1+ i) (A163355 nn))))))

%Y See A163891, A163892, A163894.

%K nonn

%O 0,3

%A _Antti Karttunen_, Sep 19 2009