The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A151892 Numbers m such that m! + (next prime after m!) is prime. 3

%I #25 May 27 2023 16:44:22

%S 1,2,3,4,6,7,14,15,20,25,32,34,35,67,89,191,316,411,1213,1280

%N Numbers m such that m! + (next prime after m!) is prime.

%C Next term exceeds 600. - _Robert G. Wilson v_, Jun 11 2010

%t a = {}; Do[If[PrimeQ[n! + NextPrime[n! ]], AppendTo[a, n]], {n, 1, 200]; a (* _Artur Jasinski_ *)

%t Select[Range[420],PrimeQ[#!+NextPrime[#!]]&] (* _Harvey P. Dale_, Aug 20 2021 *)

%Y Cf. A002981, A151894, A151893, A151903.

%K nonn,more

%O 1,2

%A _Artur Jasinski_, Apr 12 2008

%E a(17)-a(18) from _Robert G. Wilson v_, Jun 11 2010

%E a(19)-a(20) from _Michael S. Branicky_, May 27 2023

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 May 12 20:41 EDT 2024. Contains 372494 sequences. (Running on oeis4.)