Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Cunningham chain
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Definition== A '''Cunningham chain of the first kind''' of length ''n'' is a sequence of prime numbers (''p''<sub>1</sub>, ..., ''p''<sub>''n''</sub>) such that ''p''<sub>''i''+1</sub> = 2''p''<sub>''i''</sub> + 1 for all 1 β€ ''i'' < ''n''. (Hence each term of such a chain except the last is a [[Sophie Germain prime]], and each term except the first is a [[safe prime]]). It follows that : <math> \begin{align} p_2 & = 2p_1+1, \\ p_3 & = 4p_1+3, \\ p_4 & = 8p_1+7, \\ & {}\ \vdots \\ p_i & = 2^{i-1}p_1 + (2^{i-1}-1), \end{align} </math> or, by setting <math>a = \frac{p_1 + 1}{2}</math> (the number <math>a</math> is not part of the sequence and need not be a prime number), we have <math>p_i = 2^{i} a - 1.</math> Similarly, a '''Cunningham chain of the second kind''' of length ''n'' is a sequence of prime numbers (''p''<sub>1</sub>, ..., ''p''<sub>''n''</sub>) such that ''p''<sub>''i''+1</sub> = 2''p''<sub>''i''</sub> β 1 for all 1 β€ ''i'' < ''n''. It follows that the general term is : <math>p_i = 2^{i-1}p_1 - (2^{i-1}-1).</math> Now, by setting <math>a = \frac{p_1 - 1}{2} </math>, we have <math> p_i = 2^{i} a + 1</math>. Cunningham chains are also sometimes generalized to sequences of prime numbers (''p''<sub>1</sub>, ..., ''p''<sub>''n''</sub>) such that ''p''<sub>''i''+1</sub> = ''ap''<sub>''i''</sub> + ''b'' for all 1 β€ ''i'' β€ ''n'' for fixed [[coprime]] [[integer]]s ''a'' and ''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.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)