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 A165034 #6 Jun 02 2025 01:57:04 %S A165034 0,1,1,1,1,2,1,2,0,2,1,2,1,2,1,2,1,2,1,2,2,2,1,2,1,2,2,1,1,2,2,1,2,1, %T A165034 1,1,2,2,1,1,1,1,1,1,1,2,1,1,0,1,1,1,1,1,2,1,2,2,1,1,1,2,1,2,1,1,1,2, %U A165034 2,1,2,1,0,1,1,1,1,1,1,2,1,1,1,1,1,1,1,2,2,1,1,1,2,1,2,2,1,1,2,2,2,2,2,2,2 %N A165034 Length of preperiodic part of trajectory of n under iteration of the base-5 Kaprekar map in A165032. %H A165034 Joseph Myers, <a href="/A165034/b165034.txt">Table of n, a(n) for n=0..3125</a> %H A165034 <a href="/index/K#Kaprekar_map">Index entries for the Kaprekar map</a> %Y A165034 Cf. A165032, A165035. %Y A165034 In other bases: A164885 (base 2), A164995 (base 3), A165014 (base 4), A165053 (base 6), A165073 (base 7), A165092 (base 8), A165112 (base 9), A151962 (base 10). %K A165034 base,nonn %O A165034 0,6 %A A165034 _Joseph Myers_, Sep 04 2009