editing
approved
editing
approved
Also primes of the form 1*1! + 2*2! + ... + n*n!. Example: 1*1! + 2*2! + 3*3! + 4*4! + 5*5! + 6*6! + 7*7! + 8*8! + 9*9! + 10*10! + 11*11! + 12*12! + 13*13! = 87178291199 is prime. - Jonathan Vos Post, Jul 21 2006
lst={}; Do[p=n!-1; If[PrimeQ[p], AppendTo[lst, p]], {n, 0, 5*5!}]; lst (* Vladimir Joseph Stephan Orlovsky, Jan 27 2009 *)
Also primes of the form (n!-1) mod (n-1)!, with n>=1. - Paolo P. Lava & Giorgio Balzarotti, Mar 14 2007. [This follows because every number of the form (n!-1) mod (n-1)! is 1 less than a factorial.]
approved
editing
proposed
approved
editing
proposed
Factorial primes: primes of the form n! - 1.
Also primes of the form (n!-1) mod (n-1)!, with n>=1. - Paolo P. Lava & _Giorgio Balzarotti, _, Mar 14 2007. [This follows because every number of the form (n!-1) mod (n-1)! is 1 less than a factorial.]
approved
editing
reviewed
approved
proposed
reviewed
editing
proposed