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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A124083 Numbers k such that prime(k)!/prime(k)# + 1 is prime. 1

%I

%S 1,2,3,60,90

%N Numbers k such that prime(k)!/prime(k)# + 1 is prime.

%C a(6) > 500 if it exists. - _Felix Fröhlich_, Sep 15 2019

%e 1*2/2 +1 = 2 prime so a(1)=1 as 2=prime(1).

%e 1*2*3/(2*3) +1 = 2 prime so a(2)=2 as 3=prime(2).

%e 1*2*3*4*5/(2*3*5) +1 = 5 prime so a(3)=3 as 5=prime(3).

%o (PARI) isok(k) = isprime(prime(k)!/prod(i=1, k, prime(i)) + 1); \\ _Michel Marcus_, Sep 15 2019

%Y Cf. A092435 (p!/p#), A124082.

%K nonn,more

%O 1,2

%A _Pierre CAMI_, Nov 25 2006

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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 15 08:14 EDT 2021. Contains 345048 sequences. (Running on oeis4.)