login
A107939
Numbers n such that n and n-th prime have only one common digit = 8.
5
138, 148, 280, 282, 283, 284, 285, 286, 288, 418, 588, 608, 748, 768, 782, 818, 877, 880, 882, 884, 885, 887, 988, 989, 1048, 1068, 1078, 1080, 1082, 1084, 1089, 1108, 1184, 2048, 2078, 2080, 2082, 2083, 2084, 2085, 2228, 2248
OFFSET
1,1
LINKS
MATHEMATICA
bb={}; Do[If[IntegerDigits[n]\[Intersection]IntegerDigits[Prime[n]]\[Equal]{8}, bb=Append[bb, n]], {n, 3000}]; bb
Select[Range[2500], Intersection[IntegerDigits[#], IntegerDigits[ Prime[#]]] == {8}&] (* Harvey P. Dale, Dec 10 2015 *)
CROSSREFS
Sequence in context: A292094 A031964 A114820 * A008888 A045045 A108156
KEYWORD
nonn,base
AUTHOR
Zak Seidov, Jun 08 2005
STATUS
approved