%I #19 Apr 18 2020 01:21:26
%S 8,48,80,88,128,168,184,208,248,280,288,328,368,384,408,448,480,488,
%T 528,568,584,608,648,680,688,728,768,784,800,808,816,824,832,840,848,
%U 856,864,872,880,888,896,928,968,984,1008,1048,1080,1088,1128,1168,1184
%N Multiples of 8 containing an 8 in their decimal representation.
%H Harvey P. Dale, <a href="/A121028/b121028.txt">Table of n, a(n) for n = 1..1000</a>
%H <a href="/index/Ar#10-automatic">Index entries for 10-automatic sequences</a>.
%F a(n) ~ 8n. - _Charles R Greathouse IV_, Feb 12 2017
%t Select[8*Range[150],DigitCount[#,10,8]>0&] (* _Harvey P. Dale_, Oct 20 2014 *)
%o (PARI) isok(n) = !(n % 8) && vecsearch(vecsort(digits(n)), 8); \\ _Michel Marcus_, Nov 28 2016
%Y Intersection of A008590 and A011538.
%Y Cf. A121041, A011531, A121022, A121023, A121024, A121025, A121026, A121027, A121029, A121030, A121031, A121032, A121033, A121034, A121035, A121036, A121037, A121038, A121039, A121040.
%K nonn,base,easy
%O 1,1
%A _Reinhard Zumkeller_, Jul 21 2006
%E Corrected by _T. D. Noe_, Oct 25 2006
%E Typo in comment fixed by _Reinhard Zumkeller_, May 01 2011
|