login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

Multiples of 8 containing only the digits 0, ..., 8.
0

%I #10 Nov 28 2014 05:46:43

%S 0,8,16,24,32,40,48,56,64,72,80,88,104,112,120,128,136,144,152,160,

%T 168,176,184,200,208,216,224,232,240,248,256,264,272,280,288,304,312,

%U 320,328,336,344,352,360,368,376,384,400,408,416,424,432,440,448,456,464

%N Multiples of 8 containing only the digits 0, ..., 8.

%C Subsequence of A008590. - _Michel Marcus_, Nov 28 2014

%e 288 = 8*36 is a term containing no digit 9.

%e The first multiple of 8 that is not here is 96.

%o (PARI) lista(nn) = {for (n=0, nn, d = vecsort(digits(m=8*n)); if (!vecsearch(d, 9), print1(m, ", ")););} \\ _Michel Marcus_, Nov 28 2014

%Y Cf. A008590, A061818, A061819, A061820, A061821, A061822, A061823.

%K nonn,base,easy

%O 1,2

%A _Amarnath Murthy_, May 28 2001

%E More terms from Larry Reeves (larryr(AT)acm.org), May 30 2001

%E Offset changed to 1 by _Michel Marcus_, Nov 28 2014