login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A107930 Least number m such that m and m-th prime have only one common digit = n. 10

%I #5 Jun 19 2015 11:25:05

%S 80,11,52,23,14,54,56,7,138,29

%N Least number m such that m and m-th prime have only one common digit = n.

%C First terms in A107931 - A107940. The sequence is full because there are only 10 decimal digits.

%e a(0)=80 because 80 and 80th prime 409 have only one common digit = 0 and 80 is the least such a number.

%t 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 *)

%Y Cf. A107931 - A107940.

%K fini,full,nonn,base

%O 0,1

%A _Zak Seidov_, Jun 08 2005

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 16:52 EDT 2024. Contains 371794 sequences. (Running on oeis4.)