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 A165009 #6 Jun 02 2025 01:55:19 %S A165009 0,28,82,244,730,737,2188,6562,6569,6587,19684,19691,59050,59057, %T A165009 59062,59075,59129,177148,177173,531442,531449,531467,531485,531521, %U A165009 531683,1594324,1594331,1594403,4782970,4782977,4782995,4783049,4783103 %N A165009 a(n) = smallest number that leads to a new cycle under the base-3 Kaprekar map of A164993. %C A165009 Initial terms in base 3: 0, 1001, 10001, 100001, 1000001, 1000022, 10000001, 100000001, 100000022, 100000222. %H A165009 Joseph Myers, <a href="/A165009/b165009.txt">Table of n, a(n) for n=1..23340</a> %H A165009 <a href="/index/K#Kaprekar_map">Index entries for the Kaprekar map</a> %Y A165009 Cf. A164993, A164998, A165010, A165011. %Y A165009 In other bases: A164887 (base 2), A165029 (base 4), A165048 (base 5), A165068 (base 6), A165087 (base 7), A165107 (base 8), A165127 (base 9), A151964 (base 10). %K A165009 base,nonn %O A165009 1,2 %A A165009 _Joseph Myers_, Sep 04 2009