%I #4 Mar 30 2012 17:28:43
%S 1,0,2,3,5,6,6,6,11,6,1,7,8,11,5,14,6,2,13,19,15,11,21,17,31,32,35,16,
%T 45,42,55,31,65,34,84,24,107,45,117,39,138,54,164,53,184,67,212,70,
%U 240,81,277,90,310,97,350,108,388,125,436,140,481,155,526,179,591,181,653
%N Number of n-digit numbers in a cycle (including fixed points) under the base-7 Kaprekar map A165071
%H Joseph Myers, <a href="/A165085/b165085.txt">Table of n, a(n) for n=1..100</a>
%H <a href="/index/K#Kaprekar_map">Index entries for the Kaprekar map</a>
%Y Cf. A165071, A165076, A165084, A008722.
%Y In other bases: A004526 (base 2, adjusted to start 1, 0, 0, 1, 1, ...), A165007 (base 3), A165026 (base 4), A165046 (base 5), A165065 (base 6), A165104 (base 8), A165124 (base 9), A164732 (base 10).
%K base,nonn
%O 1,3
%A _Joseph Myers_, Sep 04 2009