OFFSET
2,1
FORMULA
n# = n primorial or product of primes up to n
PROG
(PARI) npmorpm2(n) = { forstep(p=1, n, 2, for(x=1, n, y=primorial(x)+p; if(ispseudoprime(y), print1(y", "); break)) ) } primorial(n) = { p1=1; forprime(x=2, n, p1*=x); return(p1) }
CROSSREFS
KEYWORD
hard,nonn
AUTHOR
Cino Hilliard, Apr 15 2004
STATUS
approved