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 A165029 #6 Jun 02 2025 01:56:32 %S A165029 0,18,65,66,257,1025,1039,1050,4097,16385,16386,16399,16447,65537, %T A165029 65551,65898,262145,262146,262207,262239,262399,1048577,1048578, %U A165029 1048591,1048639,4194305,4194310,4194319,4194399,4194559,4194687,4195327 %N A165029 a(n) = smallest number that leads to a new cycle under the base-4 Kaprekar map of A165012. %C A165029 Initial terms in base 4: 0, 102, 1001, 1002, 10001, 100001, 100033, 100122, 1000001, 10000001. %H A165029 Joseph Myers, <a href="/A165029/b165029.txt">Table of n, a(n) for n=1..7165</a> %H A165029 <a href="/index/K#Kaprekar_map">Index entries for the Kaprekar map</a> %Y A165029 Cf. A165012, A165017, A165030, A165031. %Y A165029 In other bases: A164887 (base 2), A165009 (base 3), A165048 (base 5), A165068 (base 6), A165087 (base 7), A165107 (base 8), A165127 (base 9), A151964 (base 10). %K A165029 base,nonn %O A165029 1,2 %A A165029 _Joseph Myers_, Sep 04 2009