OFFSET
1,2
EXAMPLE
a(1) = 1 because p(1)*p(2) + 1 = 2*3 + 1 = 7 -> prime
MATHEMATICA
NextPrime[#]-#&/@Times@@@Partition[Prime[Range[100]], 2, 1] (* Harvey P. Dale, May 28 2013 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov, Oct 02 2002
STATUS
approved