login
Number of cycles of n-digit numbers (including fixed points) under the base-3 Kaprekar map A164993.
10

%I #13 Jun 02 2017 00:32:41

%S 1,0,0,1,1,1,2,1,3,2,5,2,6,3,7,4,10,5,12,6,13,7,16,8,17,9,19,10,22,11,

%T 23,14,26,15,30,16,33,18,34,19,37,20,39,23,42,24,47,25,48,26,50,28,55,

%U 29,56,32,59,33,63,34,64,37,65,40,72,41,78,44,79,46,82,49,83,51,87,52

%N Number of cycles of n-digit numbers (including fixed points) under the base-3 Kaprekar map A164993.

%H Joseph Myers, <a href="/A165006/b165006.txt">Table of n, a(n) for n=1..200</a>

%H H. Hanslik, E. Hetmaniok, I. Sobstyl, et al., <a href="http://yadda.icm.edu.pl/baztech/element/bwmeta1.element.baztech-aeb2e2a6-99ca-4268-8f6b-a947b9c04da9">Orbits of the Kaprekar's transformations-some introductory facts</a>, Zeszyty Naukowe Politechniki Śląskiej, Seria: Matematyka Stosowana z. 5, Nr kol. 1945; 2015.

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

%Y Cf. A164993, A164998, A165007, A008615.

%Y In other bases: A004526 (base 2, adjusted to start 1, 0, 0, 1, 1, ...), A165025 (base 4), A165045 (base 5), A165064 (base 6), A165084 (base 7), A165103 (base 8), A165123 (base 9), A164731 (base 10).

%K base,nonn

%O 1,7

%A _Joseph Myers_, Sep 04 2009