S000267


Least k such that 2^n - k and 2^n - k + 2 are twin primes.

3, 5, 3, 5, 21, 17, 51, 5, 21, 5, 105, 23, 51, 17, 63, 35, 69, 5, 21, 503, 159, 77, 423, 197, 291, 449, 75, 107, 699, 1457, 303, 377, 1071, 347, 201, 317, 531, 1379, 75, 1367, 801, 119, 513, 887, 1629, 527, 1995, 653, 789, 635, 2451, 257, 171, 2129, 1605, 1967

3

S000267

Distance from 2^n to the lesser member of the greatest pair of twin primes less than 2^n.

T. D. Noe, Plot of terms 3 to 1000

T. D. Noe, Table of terms 3 to 1000

(Mma) Table[k = 1; While[! (PrimeQ[2^n - k] && PrimeQ[2^n - k - 2]), k = k + 2]; k + 2, {n, 3, 50}]

Cf. A173937 (k such that 2^n+k and 2^n+k+2 are the first twin primes greater than 2^n), S000266.

nonn

T. D. Noe, Sep 22 2014

© Tony D Noe 2014-2015