The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Please make a donation to keep the OEIS running. We are now in our 56th year. In the past year we added 10000 new sequences and reached almost 9000 citations (which often say "discovered thanks to the OEIS"). Other ways to donate

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A107938 Numbers n such that n and n-th prime have only one common digit = 7. 5

%I

%S 7,37,74,75,78,107,127,247,267,270,272,274,275,276,277,367,376,387,

%T 407,417,475,476,527,557,567,577,587,597,667,678,697,700,707,710,713,

%U 718,722,723,728,731,733,760,762,770,772,774,776,784,787,789,791,792,817

%N Numbers n such that n and n-th prime have only one common digit = 7.

%H Harvey P. Dale, <a href="/A107938/b107938.txt">Table of n, a(n) for n = 1..1000</a>

%t s={};Do[If[IntegerDigits[n]\[Intersection]IntegerDigits[Prime[n]]\[Equal]{7}, s=Append[s, n]], {n, 3000}];A107938=s

%t Select[Range[1000],Intersection[IntegerDigits[#],IntegerDigits[Prime[ #]]] == {7}&] (* _Harvey P. Dale_, May 04 2020 *)

%Y Cf. A107930 - A107940.

%K nonn,base

%O 1,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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified December 3 16:20 EST 2020. Contains 338906 sequences. (Running on oeis4.)