OFFSET
1,1
COMMENTS
LINKS
R. Zumkeller, Table of n, a(n) for n = 1..1000
PROG
(Python)
def ok(n): s = str(n); return 5*len(s) < sum(map(int, s)) <= 6*len(s)
print(list(filter(ok, range(458)))) # Michael S. Branicky, Jun 29 2021
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Reinhard Zumkeller, May 27 2010
STATUS
approved