OFFSET
1,2
LINKS
T. D. Noe, Table of n, a(n) for n = 1..1000
MATHEMATICA
Select[Range[0, 200], Length[Intersection[{0, 4, 6, 8, 9}, Union[IntegerDigits[#]]]] > 0 &] (* T. D. Noe, Aug 10 2012 *)
PROG
(PARI) instr(x, n)=#setintersect(Set(digits(x)), [n])>0;
f(n) = for(x=0, n, y=instr(x, 4)+instr(x, 6)+instr(x, 8)+instr(x, 9)+instr(x, 0); if(y>0, print1(x", "))) \\ Cino Hilliard, Feb 23 2005; corrected by Charles R Greathouse IV, Jan 21 2016
CROSSREFS
KEYWORD
base,nonn
AUTHOR
STATUS
approved