A121028 Multiples of 8 containing an 8 in their decimal representation.
8, 48, 80, 88, 128, 168, 184, 208, 248, 280, 288, 328, 368, 384, 408, 448, 480, 488, 528, 568, 584, 608, 648, 680, 688, 728, 768, 784, 800, 808, 816, 824, 832, 840, 848, 856, 864, 872, 880, 888, 896, 928, 968, 984, 1008, 1048, 1080, 1088, 1128, 1168, 1184
Offset: 1
Links
- Harvey P. Dale, Table of n, a(n) for n = 1..1000
- Index entries for 10-automatic sequences.
Crossrefs
Programs
-
Mathematica
Select[8*Range[150],DigitCount[#,10,8]>0&] (* Harvey P. Dale, Oct 20 2014 *)
-
PARI
isok(n) = !(n % 8) && vecsearch(vecsort(digits(n)), 8); \\ Michel Marcus, Nov 28 2016
Formula
a(n) ~ 8n. - Charles R Greathouse IV, Feb 12 2017
Extensions
Corrected by T. D. Noe, Oct 25 2006
Typo in comment fixed by Reinhard Zumkeller, May 01 2011
Comments