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 A109727 #11 Dec 15 2017 17:36:55 %S A109727 0,13,65,379,2549,19480,159001,1345929,11676912,103136395 %N A109727 Number of admirable numbers < 10^n. %t A109727 fQ[n_] := Block[{d = Most[Divisors[n]], k = 1}, l = Length[d]; s = Plus @@ d; While[k < l && s - 2d[[k]] > n, k++ ]; If[k > l || s != n + 2d[[k]], False, True]]; c = 0; k = 1; Do[ While[k <= 10^n, If[ fQ[k], c++ ]; k++ ]; k++; Print[c], {n, 7}] (* _Robert G. Wilson v_ *) %Y A109727 Cf. A111592. %K A109727 nonn %O A109727 1,2 %A A109727 _Jason Earls_, Aug 10 2005 %E A109727 a(7) from _Robert G. Wilson v_, Aug 13 2005 %E A109727 a(8)-a(10) from _Donovan Johnson_, Jan 25 2012