

A151892


Numbers n such that n! + next prime after n! is prime.


3



1, 2, 3, 4, 6, 7, 14, 15, 20, 25, 32, 34, 35, 67, 89, 191, 316, 411
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,2


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!
Next term exceeds 600. [From Robert G. Wilson v, Jun 11 2010]


LINKS

Table of n, a(n) for n=1..18.


MATHEMATICA

a = {}; Do[If[PrimeQ[n! + NextPrime[n! ]], AppendTo[a, n]], {n, 1, 200]; a (*Artur Jasinski*)


CROSSREFS

Cf. A002981, A151894, A151893, A151903.
Sequence in context: A039947 A096477 A039059 * A162570 A073639 A130776
Adjacent sequences: A151889 A151890 A151891 * A151893 A151894 A151895


KEYWORD

nonn


AUTHOR

Artur Jasinski, Apr 12 2008


EXTENSIONS

a(17) & a(18) from Robert G. Wilson v, Jun 11 2010


STATUS

approved



