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!)
A151894 Numbers n such that n! + second prime after n! is prime. 3
2, 3, 5, 6, 7, 8, 11, 17, 42, 66, 76, 93, 139, 157 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Because numbers of the form: (n! + prime) are divisible by all primes <= n that mean that first prime number can have form n! + next prime after n! and no primes of the form n! + k for k > 1 and k < next prime after n!
LINKS
MATHEMATICA
a = {}; Do[If[PrimeQ[n! + NextPrime[n!, 2]], AppendTo[a, n]], {n, 1, 200]; a (*Artur Jasinski*)
CROSSREFS
Sequence in context: A191167 A006431 A285528 * A352328 A028229 A104452
KEYWORD
nonn
AUTHOR
Artur Jasinski, Apr 12 2008
STATUS
approved

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 19:25 EDT 2024. Contains 372494 sequences. (Running on oeis4.)