This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A165112 #6 Jun 02 2025 02:03:06 %S A165112 0,1,1,1,1,1,1,1,1,2,1,2,1,3,2,2,0,3,1,2,1,2,1,3,2,2,1,3,1,2,1,2,1,3, %T A165112 2,2,2,3,1,2,1,2,1,3,2,2,2,3,0,2,1,2,1,3,1,2,2,3,1,2,1,2,1,3,1,2,2,3, %U A165112 1,2,1,2,2,3,1,2,2,3,1,2,1,2,2,4,3,1,1,2,3,4,2,1,2,4,3,1,1,2,3,4,2,2,4,3,1 %N A165112 Length of preperiodic part of trajectory of n under iteration of the base-9 Kaprekar map in A165110. %H A165112 Joseph Myers, <a href="/A165112/b165112.txt">Table of n, a(n) for n=0..6561</a> %H A165112 <a href="/index/K#Kaprekar_map">Index entries for the Kaprekar map</a> %Y A165112 Cf. A165110, A165113. %Y A165112 In other bases: A164885 (base 2), A164995 (base 3), A165014 (base 4), A165034 (base 5), A165053 (base 6), A165073 (base 7), A165092 (base 8), A151962 (base 10). %K A165112 base,nonn %O A165112 0,10 %A A165112 _Joseph Myers_, Sep 04 2009