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”).
%I #30 Mar 16 2022 16:39:30
%S 0,8,17,26,35,44,53,62,71,79,80,88,97,107,116,125,134,143,152,161,169,
%T 170,178,187,196,206,215,224,233,242,251,259,260,268,277,286,295,305,
%U 314,323,332,341,349,350,358,367,376,385,394,404,413,422,431,439,440,448,457,466
%N Numbers whose digit sum is divisible by 8.
%C Is a(n) ~ 8n? - _David A. Corneth_, May 19 2016
%H Elana Lessing, <a href="/A273188/b273188.txt">Table of n, a(n) for n = 1..10000</a>
%t Select[Range@ 600, Mod[Total@ IntegerDigits@ #, 8] == 0 &] (* _Michael De Vlieger_, May 19 2016 *)
%o (PARI) isok(n) = sumdigits(n) % 8 == 0; \\ _Michel Marcus_, May 18 2016
%Y Cf. A062342 (subsequence of primes), A227793 (equivalent for 5).
%K nonn,base
%O 1,2
%A _Elana Lessing_, May 17 2016