OFFSET
1,1
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
EXAMPLE
7 is a member since the seventh prime is 17 with the index and the prime sharing the digit 7.
MATHEMATICA
Select[Range@140, Intersection[IntegerDigits@#, IntegerDigits@ Prime@# ] != {} &]
PROG
(Haskell)
import Data.List (intersect)
a119393 n = a119393_list !! (n-1)
a119393_list = filter
(\x -> not $ null $ show x `intersect` (show $ a000040 x)) [1..]
-- Reinhard Zumkeller, Sep 14 2014
CROSSREFS
KEYWORD
nonn,base,less
AUTHOR
Robert G. Wilson v, Jul 25 2006
STATUS
approved