|
|
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
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
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
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|