Cunningham Project

Mathematical project in integer factorization


title: "Cunningham Project" type: doc version: 1 created: 2026-02-28 author: "Wikipedia contributors" status: active scope: public tags: ["number-theory"] description: "Mathematical project in integer factorization" topic_path: "science/mathematics" source: "https://en.wikipedia.org/wiki/Cunningham_Project" license: "CC BY-SA 4.0" wikipedia_page_id: 0 wikipedia_revision_id: 0

::summary 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. There are three printed versions of the table, the most recent published in 2002, as well as an online version by Samuel Wagstaff.

The current limits of the exponents are: ::data[format=table]

Base23567101112LimitAurifeuillean (LM) limit
1500900600550500450400400
30001800120011001000900800800
::

Factors of Cunningham number

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.

Algebraic factors

Main article: Binomial number#Factorization

From elementary algebra, :(b^{kn}-1) = (b^n-1) \sum_{r=0}^{k-1} b^{rn} for all k, and :(b^{kn}+1) = (b^n+1) \sum_{r=0}^{k-1} (-1)^r \cdot b^{rn} for odd k. In addition, . Thus, when m divides n, and are factors of if the quotient of n over m is even; only the first number is a factor if the quotient is odd. is a factor of , if m divides n and the quotient is odd.

In fact, :b^n-1 = \prod_{d \mid n} \Phi_d(b) and :b^n+1 = \prod_{d \mid 2n,, d \nmid n} \Phi_d(b)

See this page for more information.

Aurifeuillean factors

Main article: Aurifeuillean factorization

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:

Let b = s2k with squarefree k, if one of the conditions holds, then \Phi_n(b) have aurifeuillean factorization. : (i) k\equiv 1 \pmod 4 and n\equiv k \pmod{2k}; : (ii) k\equiv 2, 3 \pmod 4 and n\equiv 2k \pmod{4k}. ::data[format=table]

bNumberFLMOther definitions23567101112
24k+2 + 1122+1 − 2+1 + 122+1 + 2+1 + 1
36k+3 + 132+1 + 132+1 − 3+1 + 132+1 + 3+1 + 1
510k+5 − 152+1 − 12 − 5+1T + 52+12 + 5+1T + 52+1k}}+1 + 1
612k+6 + 164k+2 + 12 − 6+1T + 62+12 + 6+1T + 62+1k}}+1 + 1
714k+7 + 172+1 + 1ABA + Bk}}+1) + 1
B = 75k+3 + 73k+2 + 7+1
1020+10 + 1104k+2 + 1ABA + Bk}}+1) + 1
B = 107k+4 + 2(105k+3) + 2(103k+2) + 10+1
1122+11 + 1112+1 + 1ABA + Bk}}+1) + 1
B = 119k+5 + 117k+4 − 115k+3 + 113k+2 + 11+1
126k+3 + 1122+1 + 1122+1 − 6(12k) + 1122+1 + 6(12k) + 1
::

Other factors

Once the algebraic and aurifeuillean factors are removed, the other factors of b**n ± 1 are always of the form 2kn + 1, since the factors of b**n − 1 are all factors of \Phi_n(b), and the factors of b**n + 1 are all factors of \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 2kn + 1. In general, all factors of (b**n − 1) /(b − 1) are of the form 2kn + 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 22n + 1 is of the form k·2n+2 + 1.

Notation

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,nL and b,nM are used to denote L and M in the products above. 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,2n+; the number Aurifeuille factored in 1871 was the product of 2,58L and 2,58M.

References

References

  1. Cunningham, Allan J. C.. (1925). "Factorization of yn ± 1, y = 2, 3, 5, 6, 7, 10, 11, 12, up to high powers n". Hodgson.
  2. (2002). "Factorizations of bn ± 1, b = 2, 3, 5, 6, 7, 10, 11, 12 up to high powers". AMS.
  3. "The Cunningham Project".
  4. "Main Cunningham Tables".
  5. "Explanation of the notation on the Pages".

::callout[type=info title="Wikipedia Source"] This article was imported from Wikipedia and is available under the Creative Commons Attribution-ShareAlike 4.0 License. Content has been adapted to SurfDoc format. Original contributors can be found on the article history page. ::

number-theory