OFFSET
1,2
COMMENTS
One and eight begin with vowels. The subsequence of primes begins 11, 181, 811, 1181, 1811, 8111. - Jonathan Vos Post, Jun 14 2012
MATHEMATICA
Flatten[Table[FromDigits/@Tuples[{1, 8}, n], {n, 5}]] (* Harvey P. Dale, Aug 27 2014 *)
PROG
(Python)
res = []
i = 0
while len (res) < 260:
for c in str(i):
if c in '18':
continue
else:
break
else:
res.append(i)
i = i + 1
print(res)
(PARI) is(n) = #setintersect(vecsort(digits(n), , 8), [0, 2, 3, 4, 5, 6, 7, 9])==0 \\ Felix Fröhlich, Sep 09 2019
CROSSREFS
KEYWORD
nonn,base,dumb,easy,word
AUTHOR
Jens Ahlström, Jun 05 2012
STATUS
approved