login
A107930
Least number m such that m and m-th prime have only one common digit = n.
10
80, 11, 52, 23, 14, 54, 56, 7, 138, 29
OFFSET
0,1
COMMENTS
First terms in A107931 - A107940. The sequence is full because there are only 10 decimal digits.
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
Sequence in context: A236236 A031136 A050456 * A239131 A033400 A306414
KEYWORD
fini,full,nonn,base
AUTHOR
Zak Seidov, Jun 08 2005
STATUS
approved