login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A129193
Least K such that J*p(n+1)#-K*p(n)#-1 and J*p(n+1)#-K*p(n)#+1 are twin primes for least J>0, K>0 and K<p(n+1), with p(n)=n-th prime and p(n)#=product of the first n primes = primorial(n).
1
1, 2, 1, 2, 2, 3, 2, 12, 2, 15, 15, 18, 12, 23, 16, 31, 25, 56, 42, 9, 37, 8, 6, 6, 29, 23, 59, 62, 26, 125, 119, 71, 109, 111, 97, 97, 9, 59, 41, 103, 8, 152, 34, 184, 14, 145, 214, 21, 56, 95, 30, 43, 87, 216, 194, 148, 111, 19, 245, 279, 123, 103, 26, 31, 70, 126, 8, 103
OFFSET
1,2
COMMENTS
Least J values are given in A129192
EXAMPLE
2*3*5-2*3-1=23 prime but 2*3*5-2*3+1=25 composite
2*3*5-2*2*3-1=17 prime twin of 2*3*5-2*2*3+1=19 so K(2)=2 and J(2)=1
CROSSREFS
Cf. A129192.
Sequence in context: A202090 A241760 A224493 * A262446 A205147 A319447
KEYWORD
nonn
AUTHOR
Pierre CAMI, Apr 02 2007
STATUS
approved