login
Least k such that (k*M(n))^2+k*M(n)-1 is the first of a pair of twin primes, where M(n) = Mersenne primes.
0

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

%S 1,3,5,8,89,275,278,404,96,1538,1253,15858,189168,119552,636315,

%T 1047122,3571449

%N Least k such that (k*M(n))^2+k*M(n)-1 is the first of a pair of twin primes, where M(n) = Mersenne primes.

%e (3*M(2))^2+3*M(2)-1 = (3*7)^2+3*7-1 = 461, 461 and 463 twin primes so for n=2 k=3

%Y Cf. A000043.

%K hard,nonn

%O 1,2

%A _Pierre CAMI_, Aug 21 2005; corrected Apr 06 2006