login
Length of preperiodic part of trajectory of n under iteration of the base-8 Kaprekar map in A165090
10

%I #4 Mar 30 2012 17:28:43

%S 0,1,1,1,1,1,1,1,2,1,2,4,1,3,3,2,4,2,1,2,4,0,3,3,1,4,2,1,2,4,1,3,3,1,

%T 4,2,1,2,4,1,3,3,1,4,2,1,2,4,2,3,3,1,4,2,1,2,4,2,3,3,1,4,2,1,2,2,4,3,

%U 1,2,3,4,2,1,2,4,3,1,2,3,4,2,2,4,3,1,2,3,3,4,4,4,3,1,2,3,1,3,3,3,3,1,2,3,2

%N Length of preperiodic part of trajectory of n under iteration of the base-8 Kaprekar map in A165090

%H Joseph Myers, <a href="/A165092/b165092.txt">Table of n, a(n) for n=0..4096</a>

%H <a href="/index/K#Kaprekar_map">Index entries for the Kaprekar map</a>

%Y Cf. A165090, A165093.

%Y In other bases: A164885 (base 2), A164995 (base 3), A165014 (base 4), A165034 (base 5), A165053 (base 6), A165073 (base 7), A165112 (base 9), A151962 (base 10).

%K base,nonn

%O 0,9

%A _Joseph Myers_, Sep 04 2009