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 A165040 #6 Jun 02 2025 01:57:33 %S A165040 2,2,4,4,4,4,5,5,5,5,5,4,4,4,4,6,6,6,6,6,6,4,4,4,4,3,3,3,8,8,8,8,8,8, %T A165040 8,8,5,5,5,5,5,3,3,3,5,5,4,5,5,4,4,5,4,4,4,6,2,6,6,4,4,6,6,2,6,5,5,5, %U A165040 5,5,3,3,3,5,4,4,5,5,5,5,4,4,4,2,2,4,4,4,4,2,2,4,4,4,6,2,6,6,6,6,2,6,5,5,5 %N A165040 Length of cycle mentioned in A165039. %H A165040 Joseph Myers, <a href="/A165040/b165040.txt">Table of n, a(n) for n=1..36656</a> %H A165040 <a href="/index/K#Kaprekar_map">Index entries for the Kaprekar map</a> %Y A165040 Cf. A165032, A165039, A165038, A165042, A165044, A165050. %Y A165040 In other bases: Empty (base 2), A165001 (base 3), A165020 (base 4), A165059 (base 6), A165079 (base 7), A165098 (base 8), A165118 (base 9), A164715 (base 10). %K A165040 base,nonn %O A165040 1,1 %A A165040 _Joseph Myers_, Sep 04 2009