OFFSET
0,1
COMMENTS
The PFGW program has been used to certify all the primes corresponding to the terms up to a(1000), using a deterministic test which exploits the factorization of a(n) + 1. - Giovanni Resta, May 30 2018
LINKS
Giovanni Resta, Table of n, a(n) for n = 0..1000 (terms 0..200 from Harry J. Smith)
MATHEMATICA
Do[k = 1; While[ !PrimeQ[ Prime[k]*n! - 1], k++ ]; Print[ Prime[k]], {n, 1, 75} ]
PROG
(PARI) { allocatemem(932245000); for (n=0, 200, f=n!; k=1; while(!isprime(prime(k)*f - 1), k++); write("b064983.txt", n, " ", prime(k)) ) } \\ Harry J. Smith, Oct 02 2009
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert G. Wilson v, Oct 30 2001
STATUS
approved