OFFSET
2,1
COMMENTS
EXAMPLE
a(2)=5 because m=5 is the least m > 1 such that A002110(2)^2 - m is prime.
PROG
(PARI) a(n)=my(s=prod(i=1, n, prime(i))^n); s-precprime(s-2)
CROSSREFS
KEYWORD
nonn
AUTHOR
Alexei Kourbatov, Feb 08 2016
STATUS
approved