OFFSET
1,1
MAPLE
a := proc (n) if `subset`(convert(convert(ithprime(n), base, 10), set), {0, 1, 3, 5, 7, 9}) = true then ithprime(n) else end if end proc: seq(a(n), n = 1 .. 150); # Emeric Deutsch, Jan 25 2009
MATHEMATICA
peQ[n_]:=Select[IntegerDigits[n], EvenQ[#] && #>0 &]=={}; Select[Prime[Range[135]], peQ[#] &] (* Jayanta Basu, May 23 2013 *)
Select[Prime[Range[200]], Intersection[IntegerDigits[#], {2, 4, 6, 8}]=={}&] (* Harvey P. Dale, Jan 24 2015 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Juri-Stepan Gerasimov, Jan 19 2009
EXTENSIONS
Definition corrected by Omar E. Pol, Jan 27 2009
STATUS
approved