login
A087419
Consider pairs (p,k) such that p is a prime, q and r are the two primes following p, 0<k<q and k*primorial(p)+q and k*primorial(p)+r are consecutive primes; sequence gives values of k.
1
1, 1, 2, 4, 1, 2, 3, 4, 2, 3, 5, 7, 10, 6, 7, 12, 8, 10, 9, 16, 23, 8, 13, 30, 40, 13, 20, 25, 27, 33, 27, 29, 20, 8, 29, 66, 37, 52, 8, 44, 71, 99, 47, 79, 59, 105, 104, 60, 106, 12, 13, 50, 121, 173, 167, 3, 49, 34, 7, 42, 42, 182, 107, 53, 157, 197, 314, 8, 335, 211, 273, 229
OFFSET
1,3
EXAMPLE
a(8)=4 because A087418(8)=5; 4*(2*3*5)+7 and 4*(2*3*5)+11 are consecutive primes.
CROSSREFS
Sequence in context: A054708 A112229 A375484 * A338095 A050979 A053450
KEYWORD
nonn
AUTHOR
Pierre CAMI, Oct 22 2003
EXTENSIONS
Edited by Don Reble, Nov 09 2005
STATUS
approved