login
Least k such that (k*n)^2 + k*n -1 and (k*n)^2 + k*n +1 are twin primes.
0

%I #4 Mar 31 2012 13:22:04

%S 2,1,1,2,1,1,3,1,6,2,6,2,2,27,1,11,9,3,2,1,1,3,6,1,2,1,2,20,7,24,5,9,

%T 2,107,13,8,8,1,9,14,1,9,5,4,9,3,3,6,14,1,3,12,10,1,9,10,8,5,1,12

%N Least k such that (k*n)^2 + k*n -1 and (k*n)^2 + k*n +1 are twin primes.

%e (2*1)^2 + 2*1 -1 = 5, (2*1)^2 + 2*1 +1 = 7, 5 and 7 twin primes so k(1)=2

%K nonn

%O 1,1

%A _Pierre CAMI_, Jul 25 2005