login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A273188
Numbers whose digit sum is divisible by 8.
2
0, 8, 17, 26, 35, 44, 53, 62, 71, 79, 80, 88, 97, 107, 116, 125, 134, 143, 152, 161, 169, 170, 178, 187, 196, 206, 215, 224, 233, 242, 251, 259, 260, 268, 277, 286, 295, 305, 314, 323, 332, 341, 349, 350, 358, 367, 376, 385, 394, 404, 413, 422, 431, 439, 440, 448, 457, 466
OFFSET
1,2
COMMENTS
Is a(n) ~ 8n? - David A. Corneth, May 19 2016
LINKS
MATHEMATICA
Select[Range@ 600, Mod[Total@ IntegerDigits@ #, 8] == 0 &] (* Michael De Vlieger, May 19 2016 *)
PROG
(PARI) isok(n) = sumdigits(n) % 8 == 0; \\ Michel Marcus, May 18 2016
CROSSREFS
Cf. A062342 (subsequence of primes), A227793 (equivalent for 5).
Sequence in context: A043485 A031495 A224829 * A017257 A052222 A341009
KEYWORD
nonn,base
AUTHOR
Elana Lessing, May 17 2016
STATUS
approved