OFFSET
1,1
COMMENTS
Conjecture: Analogous to Fortune's Conjecture (A005235) all a(n) are prime, so are all members of a(n)=p-k*prime(n)#, k=natural number.
Besides, many powers p-prime(n)#^m, m=natural number, behave as well, e.g. p-prime(n)#^29 does, p-prime(n)#^30 does not.
PROG
(PARI) a(n) = {hp = prod(ip=1, n, prime(ip)); nextprime(hp^2+2) - hp^2; } \\ Michel Marcus, Oct 12 2014
(MuPAD) q:=1; p:=1; for i from 1 to 100 do q:=nextprime(q+1); p:=p*q; N:=nextprime(p^2+2)-p^2; print(i, N); end_for: \\ Werner D. Sand, Oct 13 2014
CROSSREFS
KEYWORD
nonn
AUTHOR
Werner D. Sand, Oct 12 2014
STATUS
approved