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!)
A084428 Numbers n such that n 7's followed by n is prime. 7

%I #13 Apr 05 2019 09:33:39

%S 1,23,209,1171,6239,7543

%N Numbers n such that n 7's followed by n is prime.

%C a(7) > 15000. - _Derek Orr_, Jul 29 2014

%C a(7) > 10^5. - _Robert Price_, Apr 05 2019

%e 23 is in the sequence because 7777777777777777777777723(23 7's followed by 23) is prime.

%t Do[ If[GCD[n, 30] == 1 && PrimeQ[ FromDigits[ Join[ Table[7, {n}], IntegerDigits[n]]]], Print[n]], {n, 1, 6500}]

%o (PARI)

%o for(n=1,15000,p="";for(k=1,n,p=concat(p,Str(7)));p=concat(p,Str(n));if(ispseudoprime(eval(p)),print1(n,", "))) \\ _Derek Orr_, Jul 29 2014

%Y Cf. A070746, A068817.

%K nonn,base,more,hard

%O 1,2

%A _Farideh Firoozbakht_, Jun 27 2003

%E a(6) from _Derek Orr_, Jul 29 2014

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 24 11:49 EDT 2024. Contains 371936 sequences. (Running on oeis4.)