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 A016096 #22 Mar 29 2022 11:00:26 %S A016096 9,18,27,36,45,54,63,72,81,90,99,117,126,135,144,153,162,171,180,189, %T A016096 207,216,225,234,243,252,261,270,279,297,315,324,333,342,351,360,369, %U A016096 387,405,414,423,432,441,450,459,477,495,513,522,531,540 %N A016096 a(n+1) = a(n) + sum of its digits, with a(1) = 9. %D A016096 D. R. Kaprekar, Puzzles of the Self-Numbers. 311 Devlali Camp, Devlali, India, 1959. %D A016096 D. R. Kaprekar, The Mathematics of the New Self Numbers, Privately printed, 311 Devlali Camp, Devlali, India, 1963. %H A016096 Reinhard Zumkeller, <a href="/A016096/b016096.txt">Table of n, a(n) for n = 1..10000</a> %H A016096 D. R. Kaprekar, <a href="/A003052/a003052_2.pdf">The Mathematics of the New Self Numbers</a> [annotated and scanned] %H A016096 <a href="/index/Coi#Colombian">Index entries for Colombian or self numbers and related sequences</a> %F A016096 a(n) = A062028(a(n-1)) for n > 1. - _Reinhard Zumkeller_, Oct 14 2013 %o A016096 (Haskell) %o A016096 a016096 n = a016096_list !! (n-1) %o A016096 a016096_list = iterate a062028 9 -- _Reinhard Zumkeller_, Oct 14 2013 %o A016096 (Python) %o A016096 from itertools import islice %o A016096 def A016096_gen(): # generator of terms %o A016096 a = 9 %o A016096 while True: %o A016096 yield a %o A016096 a += sum(int(d) for d in str(a)) %o A016096 A016096_list = list(islice(A016096_gen(),20)) # _Chai Wah Wu_, Mar 29 2022 %Y A016096 Cf. A004207, A016052, A007618, A006507. %K A016096 nonn,base %O A016096 1,1 %A A016096 _Robert G. Wilson v_