OFFSET
1,3
COMMENTS
Some of the larger entries may only correspond to probable primes.
EXAMPLE
p(n) is the n-th prime; # denotes primorial (A002110).
a(2)=1 because 3#/2+2 and 3#/3+3 are the same prime (5).
a(4)=4 because 7#/2+2=107, 7#/3+3=73, 7#/5+5=47, 7#/7+7=37 are four primes.
PROG
(PARI) p_n_primorial(n) = { prod(i=1, n, prime(i)) }
a(n) = { my(p=p_n_primorial(n), c=0); if(n==2, 1, for(i=1, n, my(q=p/prime(i)+prime(i)); if(isprime(q), c++)); c) }
CROSSREFS
KEYWORD
nonn
AUTHOR
Rick L. Shepherd, May 31 2003
EXTENSIONS
Edited by Don Reble, Nov 16 2005
STATUS
approved