login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Primes of the form p! + 1 where p is prime.
2

%I #13 Nov 28 2019 15:46:45

%S 3,7,39916801,13763753091226345046315979581580902400000001,

%T 33452526613163807108170062053440751665152000000001,

%U 4470115461512684340891257138125051110076800700282905015819080092370422104067183317016903680000000000000001

%N Primes of the form p! + 1 where p is prime.

%C The values of p are 2, 3, 11, 37, 41, 73 which is A093804 (with a different definition). Subsequence of A088332 (primes of the form n! + 1).

%D R. K. Guy, Unsolved Problems in Number Theory, Section A2.

%H R. Mestrovic, <a href="http://arxiv.org/abs/1202.3670">Euclid's theorem on the infinitude of primes: a historical survey of its proofs (300 BC--2012) and another new proof</a>, arXiv preprint arXiv:1202.3670, 2012 - From N. J. A. Sloane, Jun 13 2012

%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/FactorialPrime.html">Factorial Prime</a>

%H <a href="/index/Fa#factorial">Index entries for sequences related to factorial numbers.</a>

%e 2 and 2! + 1 = 3 are prime, so 3 is a member.

%t Select[Table[p!+1,{p,Prime[Range[30]]}],PrimeQ] (* _Harvey P. Dale_, Nov 28 2019 *)

%Y Cf. A093804, A002981, A088332, A103318.

%K hard,nonn

%O 1,1

%A _Jonathan Sondow_, Jan 31 2005