A178366 Numbers with rounded up arithmetic mean of digits = 6.
6, 29, 38, 39, 47, 48, 56, 57, 65, 66, 74, 75, 83, 84, 92, 93, 169, 178, 179, 187, 188, 189, 196, 197, 198, 259, 268, 269, 277, 278, 279, 286, 287, 288, 295, 296, 297, 349, 358, 359, 367, 368, 369, 376, 377, 378, 385, 386, 387, 394, 395, 396, 439, 448, 449, 457
Offset: 1
Links
- R. Zumkeller, Table of n, a(n) for n = 1..1000
Crossrefs
Programs
-
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
Comments