OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..16
EXAMPLE
Lcm(9) + 1 = lcm(10) + 1 = 2521, a prime.
MATHEMATICA
Select[Table[LCM@@Range[n]+1, {n, 150}], PrimeQ]//Union (* Harvey P. Dale, May 31 2017 *)
PROG
(PARI) N=1; print1(2); for(n=1, 1e3, if(isprimepower(n, &p), N*=p; if(isprime(N+1), print1(", "N+1)))) \\ Charles R Greathouse IV, Nov 18 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved