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 A165042 #9 Jun 02 2025 01:57:40 %S A165042 1,1,2,1,4,5,4,6,1,4,3,1,8,5,3,1,5,4,4,6,2,5,3,1,5,4,1,4,2,2,4,6,2,5, %T A165042 3,1,5,1,3,4,4,4,4,4,2,2,4,6,2,5,3,1,3,1,9,9,3,4,4,4,4,4,2,2,4,6,2,5, %U A165042 3,1,5,5,3,1,6,6,2,6,3,3,1,9,9,3,4,4,4,4,4,2,2,4,6,2,5,3,1,11,5,3,1,11,11 %N A165042 Length of cycle mentioned in A165041. %H A165042 Joseph Myers, <a href="/A165042/b165042.txt">Table of n, a(n) for n=1..15716</a> %H A165042 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 A165042 <a href="/index/K#Kaprekar_map">Index entries for the Kaprekar map</a> %Y A165042 Cf. A165032, A165041, A165038, A165040, A165044, A165050. %Y A165042 In other bases: A000012 (base 2), A165003 (base 3), A165022 (base 4), A165061 (base 6), A165081 (base 7), A165100 (base 8), A165120 (base 9), A164719 (base 10). %K A165042 base,nonn %O A165042 1,3 %A A165042 _Joseph Myers_, Sep 04 2009