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 A178366 #6 Jun 29 2021 07:49:35 %S A178366 6,29,38,39,47,48,56,57,65,66,74,75,83,84,92,93,169,178,179,187,188, %T A178366 189,196,197,198,259,268,269,277,278,279,286,287,288,295,296,297,349, %U A178366 358,359,367,368,369,376,377,378,385,386,387,394,395,396,439,448,449,457 %N A178366 Numbers with rounded up arithmetic mean of digits = 6. %C A178366 A004427(a(n)) = 6; %C A178366 A000027 = union of A178361, A178362, A178363, A178364, A178365, A178367, A178368, A178369, and this sequence. %H A178366 R. Zumkeller, <a href="/A178366/b178366.txt">Table of n, a(n) for n = 1..1000</a> %o A178366 (Python) %o A178366 def ok(n): s = str(n); return 5*len(s) < sum(map(int, s)) <= 6*len(s) %o A178366 print(list(filter(ok, range(458)))) # _Michael S. Branicky_, Jun 29 2021 %Y A178366 Cf. A000027, A004427. %Y A178366 Cf. A178361, A178362, A178363, A178364, A178365, A178367, A178368, A178369. %K A178366 base,nonn %O A178366 1,1 %A A178366 _Reinhard Zumkeller_, May 27 2010