OFFSET
1,1
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..349
EXAMPLE
a(7) = 2*510510 + 361 = 2*(2*3*5*7*11*13*17) + 19*19 = 2*A002110(7) + prime(8)^2.
MATHEMATICA
Table[SelectFirst[Range[120] Product[Prime@ i, {i, n}] + Prime[n + 1]^2, PrimeQ], {n, 17}] (* Michael De Vlieger, Aug 16 2017 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Apr 25 2000
STATUS
approved