OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
MATHEMATICA
s={}; Do[If[IntegerDigits[n]\[Intersection]IntegerDigits[Prime[n]]\[Equal]{7}, s=Append[s, n]], {n, 3000}]; A107938=s
Select[Range[1000], Intersection[IntegerDigits[#], IntegerDigits[Prime[ #]]] == {7}&] (* Harvey P. Dale, May 04 2020 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Zak Seidov, Jun 08 2005
STATUS
approved