Cunningham Project (original) (raw)
From Wikipedia, the free encyclopedia
Mathematical project in integer factorization
The Cunningham Project is a collaborative effort started in 1925 to factor numbers of the form b n ± 1 for b = 2, 3, 5, 6, 7, 10, 11, 12 and large n. The project is named after Allan Joseph Champneys Cunningham, who published the first version of the table together with Herbert J. Woodall.[1] There are three printed versions of the table, the most recent published in 2002,[2] as well as an online version by Samuel Wagstaff.[3]
The current limits of the exponents are:
Base | 2 | 3 | 5 | 6 | 7 | 10 | 11 | 12 |
---|---|---|---|---|---|---|---|---|
Limit | 1500 | 900 | 600 | 550 | 500 | 450 | 400 | 400 |
Aurifeuillean (LM) limit | 3000 | 1800 | 1200 | 1100 | 1000 | 900 | 800 | 800 |
Factors of Cunningham number
[edit]
Two types of factors can be derived from a Cunningham number without having to use a factorization algorithm: algebraic factors of binomial numbers (e.g. difference of two squares and sum of two cubes), which depend on the exponent, and aurifeuillean factors, which depend on both the base and the exponent.
From elementary algebra,
( b k n − 1 ) = ( b n − 1 ) ∑ r = 0 k − 1 b r n {\displaystyle (b^{kn}-1)=(b^{n}-1)\sum _{r=0}^{k-1}b^{rn}}
for all k, and
( b k n + 1 ) = ( b n + 1 ) ∑ r = 0 k − 1 ( − 1 ) r ⋅ b r n {\displaystyle (b^{kn}+1)=(b^{n}+1)\sum _{r=0}^{k-1}(-1)^{r}\cdot b^{rn}}
for odd k. In addition, b_2_n − 1 = (b n − 1)(b n + 1). Thus, when m divides n, b m − 1 and b m + 1 are factors of b n − 1 if the quotient of n over m is even; only the first number is a factor if the quotient is odd. b m + 1 is a factor of b n − 1, if m divides n and the quotient is odd.
In fact,
b n − 1 = ∏ d ∣ n Φ d ( b ) {\displaystyle b^{n}-1=\prod _{d\mid n}\Phi _{d}(b)}
and
b n + 1 = ∏ d ∣ 2 n , d ∤ n Φ d ( b ) {\displaystyle b^{n}+1=\prod _{d\mid 2n,\,d\nmid n}\Phi _{d}(b)}
See this page for more information.
Aurifeuillean factors
[edit]
When the number is of a particular form (the exact expression varies with the base), aurifeuillean factorization may be used, which gives a product of two or three numbers. The following equations give aurifeuillean factors for the Cunningham project bases as a product of F, L and M:[4]
Let b = _s_2 × k with squarefree k, if one of the conditions holds, then Φ n ( b ) {\displaystyle \Phi _{n}(b)} have aurifeuillean factorization.
(i) k ≡ 1 mod 4 {\displaystyle k\equiv 1\mod 4} and n ≡ k ( mod 2 k ) ; {\displaystyle n\equiv k{\pmod {2k}};}
(ii) k ≡ 2 , 3 ( mod 4 ) {\displaystyle k\equiv 2,3{\pmod {4}}} and n ≡ 2 k ( mod 4 k ) . {\displaystyle n\equiv 2k{\pmod {4k}}.}
b | Number | F | L | M | Other definitions |
---|---|---|---|---|---|
2 | 24_k_+2 + 1 | 1 | 22_k_ +1 − 2_k_ +1 + 1 | 22_k_ +1 + 2_k_ +1 + 1 | |
3 | 36_k_+3 + 1 | 32_k_ +1 + 1 | 32_k_ +1 − 3_k_ +1 + 1 | 32_k_ +1 + 3_k_ +1 + 1 | |
5 | 510_k_+5 − 1 | 52_k_ +1 − 1 | T 2 − 5_k_ +1_T_ + 52_k_ +1 | T 2 + 5_k_ +1_T_ + 52_k_ +1 | T = 52_k_ +1 + 1 |
6 | 612_k_+6 + 1 | 64_k_+2 + 1 | T 2 − 6_k_ +1_T_ + 62_k_ +1 | T 2 + 6_k_ +1_T_ + 62_k_ +1 | T = 62_k_ +1 + 1 |
7 | 714_k_+7 + 1 | 72_k_ +1 + 1 | A − B | A + B | A = 76_k_+3 + 3(74_k_+2) + 3(72_k_ +1) + 1_B_ = 75_k_+3 + 73_k_+2 + 7_k_ +1 |
10 | 1020_k_ +10 + 1 | 104_k_+2 + 1 | A − B | A + B | A = 108_k_+4 + 5(106_k_+3) + 7(104_k_+2) + 5(102_k_ +1) + 1_B_ = 107_k_+4 + 2(105_k_+3) + 2(103_k_+2) + 10_k_ +1 |
11 | 1122_k_ +11 + 1 | 112_k_ +1 + 1 | A − B | A + B | A = 1110_k_+5 + 5(118_k_+4) − 116_k_+3 − 114_k_+2 + 5(112_k_ +1) + 1_B_ = 119_k_+5 + 117_k_+4 − 115_k_+3 + 113_k_+2 + 11_k_ +1 |
12 | 126_k_+3 + 1 | 122_k_ +1 + 1 | 122_k_ +1 − 6(12_k_) + 1 | 122_k_ +1 + 6(12_k_) + 1 |
Once the algebraic and aurifeuillean factors are removed, the other factors of b n ± 1 are always of the form 2_kn_ + 1, since the factors of b n − 1 are all factors of Φ n ( b ) {\displaystyle \Phi _{n}(b)} , and the factors of b n + 1 are all factors of Φ 2 n ( b ) {\displaystyle \Phi _{2n}(b)} . When n is prime, both algebraic and aurifeuillean factors are not possible, except the trivial factors (b − 1 for b n − 1 and b + 1 for b n + 1). For Mersenne numbers, the trivial factors are not possible for prime n, so all factors are of the form 2_kn_ + 1. In general, all factors of (b n − 1) /(b − 1) are of the form 2_kn_ + 1, where b ≥ 2 and n is prime, except when n divides b − 1, in which case (b n − 1)/(b − 1) is divisible by n itself.
Cunningham numbers of the form b n − 1 can only be prime if b = 2 and n is prime, assuming that n ≥ 2; these are the Mersenne numbers. Numbers of the form b n + 1 can only be prime if b is even and n is a power of 2, again assuming n ≥ 2; these are the generalized Fermat numbers, which are Fermat numbers when b = 2. Any factor of a Fermat number 22_n_ + 1 is of the form k_2_n+2 + 1.
b n − 1 is denoted as b,_n_−. Similarly, b n + 1 is denoted as b,n+. When dealing with numbers of the form required for aurifeuillean factorization, b,_n_L and b,_n_M are used to denote L and M in the products above.[5] References to b,_n_− and b,_n_+ are to the number with all algebraic and aurifeuillean factors removed. For example, Mersenne numbers are of the form 2,n_− and Fermat numbers are of the form 2,2_n+; the number Aurifeuille factored in 1871 was the product of 2,58L and 2,58M.
- Cunningham number
- ECMNET and NFS@Home, two collaborations working for the Cunningham project
- ^ Cunningham, Allan J. C.; Woodall, H. J. (1925). Factorization of yn ± 1, y = 2, 3, 5, 6, 7, 10, 11, 12, up to high powers n. Hodgson.
- ^ Brillhart, John; Lehmer, Derrick H.; Selfridge, John L.; Tuckerman, Bryant; Wagstaff, Samuel S. (2002). Factorizations of bn ± 1, b = 2, 3, 5, 6, 7, 10, 11, 12 up to high powers. Contemporary Mathematics. Vol. 22. AMS. doi:10.1090/conm/022. ISBN 9780821850787.
- ^ "The Cunningham Project". Retrieved 23 November 2023.
- ^ "Main Cunningham Tables". Retrieved 29 May 2023. At the end of tables 2LM, 3+, 5-, 6+, 7+, 10+, 11+ and 12+ there are formulae detailing the aurifeuillean factorizations.
- ^ "Explanation of the notation on the Pages". Retrieved 23 November 2023.
- Cunningham project homepage
- Factorizations of b _n_±1, b = 2, 3, 5, 6, 7, 10, 11, 12 Up to High Powers, second edition
- Factorizations of b _n_±1, b = 2, 3, 5, 6, 7, 10, 11, 12 Up to High Powers, third edition
- Machine-readable Cunningham tables
- The Cunningham Project
- Brent-Montgomery-te Riele table (Cunningham tables for higher bases (bases 13 ≤ b ≤ 99, perfect powers excluded, since a power of b n is also a power of b))
- Online factor collection
- Cunningham project on Prime Wiki
- Cunningham project on PrimePages