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
KEYWORD
nonn
AUTHOR
Tomas Xordan, Jan 12 2007
EXTENSIONS
Edited and extended by Klaus Brockhaus, Jan 24 2007
STATUS
approved