login
A178366
Numbers with rounded up arithmetic mean of digits = 6.
10
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,1
COMMENTS
A004427(a(n)) = 6;
A000027 = union of A178361, A178362, A178363, A178364, A178365, A178367, A178368, A178369, and this sequence.
LINKS
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
KEYWORD
base,nonn
AUTHOR
Reinhard Zumkeller, May 27 2010
STATUS
approved