login
Length of preperiodic part of trajectory of n under iteration of the base-4 Kaprekar map in A165012.
10

%I #6 Dec 25 2016 01:05:36

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

%T 1,2,1,2,2,1,1,2,1,2,2,1,2,2,2,2,2,2,2,1,1,1,2,1,2,2,2,1,2,1,2,2,1,1,

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

%N Length of preperiodic part of trajectory of n under iteration of the base-4 Kaprekar map in A165012.

%H Joseph Myers, <a href="/A165014/b165014.txt">Table of n, a(n) for n = 0..1024</a>

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

%Y Cf. A165012, A165015.

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

%K base,nonn

%O 0,5

%A _Joseph Myers_, Sep 04 2009