In mathematics, a Cunningham chain is a certain sequence of prime numbers. Cunningham chains are named after mathematician A. J. C. Cunningham. They are also called chains of nearly doubled primes.
Contents
Definition
A Cunningham chain of the first kind of length n is a sequence of prime numbers (p1, ..., pn) such that for all 1 ≤ i < n, pi+1 = 2pi + 1. (Hence each term of such a chain except the last one is a Sophie Germain prime, and each term except the first is a safe prime).
It follows that
Or, by setting
Similarly, a Cunningham chain of the second kind of length n is a sequence of prime numbers (p1,...,pn) such that for all 1 ≤ i < n, pi+1 = 2pi − 1.
It follows that the general term is
Now, by setting
Cunningham chains are also sometimes generalized to sequences of prime numbers (p1, ..., pn) such that for all 1 ≤ i ≤ n, pi+1 = api + b for fixed coprime integers a, b; the resulting chains are called generalized Cunningham chains.
A Cunningham chain is called complete if it cannot be further extended, i.e., if the previous and the next terms in the chain are not prime numbers.
Examples
Examples of complete Cunningham chains of the first kind include these:
2, 5, 11, 23, 47 (The next number would be 95, but that is not prime.)3, 7 (The next number would be 15, but that is not prime.)29, 59 (The next number would be 119 = 7*17, but that is not prime.)41, 83, 167 (The next number would be 335, but that is not prime.)89, 179, 359, 719, 1439, 2879 (The next number would be 5759 = 13*443, but that is not prime.)Examples of complete Cunningham chains of the second kind include these:
2, 3, 5 (The next number would be 9, but that is not prime.)7, 13 (The next number would be 25, but that is not prime.)19, 37, 73 (The next number would be 145, but that is not prime.)31, 61 (The next number would be 121 = 112, but that is not prime.)151, 301, 601, 1201 (The next number would be 2401 = 74, but that is not prime.)Cunningham chains are now considered useful in cryptographic systems since "they provide two concurrent suitable settings for the ElGamal cryptosystem ... [which] can be implemented in any field where the discrete logarithm problem is difficult."
Largest known Cunningham chains
It follows from Dickson's conjecture and the broader Schinzel's hypothesis H, both widely believed to be true, that for every k there are infinitely many Cunningham chains of length k. There are, however, no known direct methods of generating such chains.
There are computing competitions for the longest Cunningham chain or for the one built up of the largest primes, but unlike the breakthrough of Ben J. Green and Terence Tao - the Green–Tao theorem, that there are arithmetic progressions of primes of arbitrary length - there is no general result known on large Cunningham chains to date.
q# denotes the primorial 2×3×5×7×...×q.
As of 2015, the longest known Cunningham chain of either kind is of length 19, discovered by Jaroslaw Wroblewski in 2014.
Congruences of Cunningham chains
Let the odd prime
The above property can be informally observed by considering the primes of a chain in base 2. (Note that, as with all bases, multiplying by the number of the base "shifts" the digits to the left.) When we consider
A similar result holds for Cunningham chains of the second kind. From the observation that
Similarly, because