|
|
A107930
|
|
Least number m such that m and m-th prime have only one common digit = n.
|
|
10
|
|
|
|
OFFSET
|
0,1
|
|
COMMENTS
|
First terms in A107931 - A107940. The sequence is full because there are only 10 decimal digits.
|
|
LINKS
|
|
|
EXAMPLE
|
a(0)=80 because 80 and 80th prime 409 have only one common digit = 0 and 80 is the least such a number.
|
|
MATHEMATICA
|
lnm[n_]:=Module[{m=1}, While[Intersection[IntegerDigits[Prime[m]], IntegerDigits[m]] != {n}, m++]; m]; Table[lnm[n], {n, 0, 9}] (* Harvey P. Dale, Jun 19 2015 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
fini,full,nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|