OFFSET
1,2
COMMENTS
Sequence's terms were calculated by Jacques Tramu.
Variant of A083021. [R. J. Mathar, Nov 03 2008]
EXAMPLE
For n = 5: 2 + 3*5*7*11 = 1157 = 13*89; 3 + 2*5*7*11 = 773 = prime; 5 + 2*3*7*11 = 467 = prime; 7 + 2*3*5*11 = 337 = prime; 11 + 2*3*5*7 = 221 = 13*17. So a(5) = 3.
PROG
(PARI) a(n) = my(prn = prod(k=1, n, prime(k))); sum(k=1, n, isprime(prime(k) + prn/prime(k))); \\ Michel Marcus, Mar 18 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Jun 01 2008
STATUS
approved