login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

Least J such that J*p(n+1)#-K*p(n)#-1 and J*p(n+1)#-K*p(n)#+1 are twin primes for some 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

%I #3 Mar 31 2012 13:22:05

%S 1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,4,1,2,1,1,1,1,1,1,1,3,1,1,2,1,1,

%T 3,1,2,1,2,2,1,7,4,1,2,2,3,2,1,6,4,5,1,2,1,1,3,7,1,3,1,1,1,3,1,5,3,4,

%U 1,5,9,3,2,2,2,2,8,1,8,2,3,11,4,2,1,2,1,15,2,10,7,5,5,2,2,3,2,2,1,4,6,4,1,1

%N Least J such that J*p(n+1)#-K*p(n)#-1 and J*p(n+1)#-K*p(n)#+1 are twin primes for some K>0 and K<p(n+1) with p(n)=n-th prime and p(n)#=product of the first n primes = primorial(n).

%C Least K values for least J are given in A129193

%Y Cf. A129193.

%K nonn

%O 1,13

%A _Pierre CAMI_, Apr 02 2007