login
A125174
Primes of the form n! + (n+1)! - 1.
0
2, 7, 29, 839, 3991679, 93405311999, 1394852659199, 6758061133823999, 315777214062132212662271999999, 9146650338351415815045119999999, 303916116658416027343136804044799999999
OFFSET
1,1
EXAMPLE
0!+1!-1 = 1 is not prime, 1!+2!-1 = 2 is prime, 2!+3!-1 = 7 is prime, 3!+4!-1 = 29 is prime, 4!+5!-1 = 143 = 11*13 is not prime.
PROG
(PARI) for(n=0, 35, if(isprime(a=n!+(n+1)!-1), print1(a, ", ")))
CROSSREFS
Cf. A118913 (primes of the form n! + (n+1)! + 1).
Sequence in context: A359950 A094475 A093034 * A270526 A037417 A042913
KEYWORD
nonn
AUTHOR
Tomas Xordan, Jan 12 2007
EXTENSIONS
Edited and extended by Klaus Brockhaus, Jan 24 2007
STATUS
approved