|
|
A338090
|
|
Numbers having at least one 8 in their representation in base 9.
|
|
15
|
|
|
8, 17, 26, 35, 44, 53, 62, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 89, 98, 107, 116, 125, 134, 143, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 170, 179, 188, 197, 206, 215, 224, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 251, 260, 269, 278, 287, 296, 305, 314, 315
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
|
|
LINKS
|
|
|
EXAMPLE
|
70 is not in the sequence since it is 77_9 in base 9, but 76 is in the sequence since it is 84_9 in base 9.
|
|
MAPLE
|
seq(`if`(numboccur(8, convert(n, base, 9))>0, n, NULL), n=0..100);
|
|
MATHEMATICA
|
Select[ Range[ 0, 100 ], (Count[ IntegerDigits[ #, 9 ], 8 ]>0)& ]
|
|
PROG
|
(PARI) isok(m) = #select(x->(x==8), digits(m, 9)) >= 1;
|
|
CROSSREFS
|
Cf. A043485 (numbers with exactly one 8 in base 9).
|
|
KEYWORD
|
nonn,base,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|