OFFSET
0,3
REFERENCES
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
LINKS
Indranil Ghosh, Table of n, a(n) for n = 0..50000
FORMULA
Numbers using only digits 0, 1, 3 and 8.
PROG
(Python)
allowed = ("0", "1", "3", "8")
def a(n):
return all(x in allowed for x in str(n))
print([i for i in range(50000) if a(i)])
# Indranil Ghosh, Feb 03 2017
CROSSREFS
KEYWORD
nonn,easy,base
AUTHOR
EXTENSIONS
More terms from Henry Bottomley, Feb 14 2000
STATUS
approved