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 A165120 #9 Jun 02 2025 02:03:41 %S A165120 1,2,2,3,3,5,1,14,2,1,4,12,1,5,4,1,1,6,6,2,2,1,6,4,11,1,1,1,3,6,4,2,1, %T A165120 1,2,7,1,6,9,1,1,1,4,1,4,1,6,15,1,1,1,4,6,7,4,1,10,1,2,2,2,1,1,1,8,3, %U A165120 2,7,4,1,6,1,2,1,1,1,7,4,6,3,6,3,2,8,3,2,7,4,1,13,1,1,2,1,2,20,1,5,4,6,3,2 %N A165120 Length of cycle mentioned in A165119. %H A165120 Joseph Myers, <a href="/A165120/b165120.txt">Table of n, a(n) for n=1..1560</a> %H A165120 Anthony Kay and Katrina Downes-Ward, <a href="https://cs.uwaterloo.ca/journals/JIS/VOL25/Kay/kay5.html">Fixed Points and Cycles of the Kaprekar Transformation: 1. Odd Bases</a>, Journal of Integer Sequences, Vol. 25 (2022), Article 22.6.7. %H A165120 <a href="/index/K#Kaprekar_map">Index entries for the Kaprekar map</a> %Y A165120 Cf. A165110, A165119, A165116, A165118, A165122, A165129. %Y A165120 In other bases: A000012 (base 2), A165003 (base 3), A165022 (base 4), A165042 (base 5), A165061 (base 6), A165081 (base 7), A165100 (base 8), A164719 (base 10). %K A165120 base,nonn %O A165120 1,2 %A A165120 _Joseph Myers_, Sep 04 2009