Collatz Conjecture: Difference between revisions
first light |
images and stats |
||
| Line 1: | Line 1: | ||
{{Infobox software | {{Infobox software | ||
| name = Collatz Conjecture | | name = Collatz Conjecture | ||
| logo = | | logo =210pxCollatzFractal.png | ||
| logo caption = | | logo caption =Collatz Conjecture logo | ||
| screenshot = | | screenshot = | ||
| caption = | | caption = | ||
| Line 42: | Line 42: | ||
'''Collatz Conjecture''' was a volunteer distributed computing project built on the [[wikipedia:Berkeley Open Infrastructure for Network Computing|BOINC]] platform. Based in Wood Dale, Illinois, it is a privately managed project run by administrator Jon Sonntag, dedicated to computationally testing the famous [[wikipedia:Collatz conjecture|Collatz conjecture]] in mathematics, also widely known as the '''3x+1 problem''' or '''HOTPO''' (Half Or Triple Plus One).<ref name="boinc_wiki">{{cite web |url=https://boinc.berkeley.edu/wiki/Collatz_Conjecture |title=Collatz Conjecture |publisher=BOINC Berkeley |date=9 May 2013 |access-date=2026-06-07}}</ref><ref name="project_home">{{cite web |url=https://boinc.thesonntags.com/collatz/ |title=Collatz Conjecture project home |author=Jon Sonntag |access-date=2026-06-07}}</ref> The project continues work begun by the earlier '''3x+1@home''' BOINC project, which ended in 2008.<ref name="bcteam">{{cite web |url=https://wiki.bc-team.org/index.php?title=Collatz_Conjecture/en |title=Collatz Conjecture |publisher=BC-Wiki |access-date=2026-06-07}}</ref> | '''Collatz Conjecture''' was a volunteer distributed computing project built on the [[wikipedia:Berkeley Open Infrastructure for Network Computing|BOINC]] platform. Based in Wood Dale, Illinois, it is a privately managed project run by administrator Jon Sonntag, dedicated to computationally testing the famous [[wikipedia:Collatz conjecture|Collatz conjecture]] in mathematics, also widely known as the '''3x+1 problem''' or '''HOTPO''' (Half Or Triple Plus One).<ref name="boinc_wiki">{{cite web |url=https://boinc.berkeley.edu/wiki/Collatz_Conjecture |title=Collatz Conjecture |publisher=BOINC Berkeley |date=9 May 2013 |access-date=2026-06-07}}</ref><ref name="project_home">{{cite web |url=https://boinc.thesonntags.com/collatz/ |title=Collatz Conjecture project home |author=Jon Sonntag |access-date=2026-06-07}}</ref> The project continues work begun by the earlier '''3x+1@home''' BOINC project, which ended in 2008.<ref name="bcteam">{{cite web |url=https://wiki.bc-team.org/index.php?title=Collatz_Conjecture/en |title=Collatz Conjecture |publisher=BC-Wiki |access-date=2026-06-07}}</ref> | ||
== The Collatz Conjecture == | == The Collatz Conjecture == | ||
| Line 72: | Line 70: | ||
As a striking example, starting from <math>n = 27</math>, the sequence takes 111 steps and climbs as high as 9,232 before descending to 1. Starting from <math>n = 26</math>, by contrast, only 10 steps are needed. There is no obvious pattern to how long a number takes to reach 1 (its '''total stopping time'''), which is part of what makes the problem so difficult. | As a striking example, starting from <math>n = 27</math>, the sequence takes 111 steps and climbs as high as 9,232 before descending to 1. Starting from <math>n = 26</math>, by contrast, only 10 steps are needed. There is no obvious pattern to how long a number takes to reach 1 (its '''total stopping time'''), which is part of what makes the problem so difficult. | ||
The problem goes by several other names in the literature: the '''Ulam conjecture''' (after [[wikipedia:Stanislaw Ulam|Stanislaw Ulam]]), '''Kakutani's problem''' (after [[wikipedia:Shizuo Kakutani|Shizuo Kakutani]]), the '''Thwaites conjecture''' (after Sir Bryan Thwaites), and the '''Syracuse problem'''.<ref name="wp_collatz" /> | The problem goes by several other names in the literature: the '''Ulam conjecture''' (after [[wikipedia:Stanislaw Ulam|Stanislaw Ulam]]), '''Kakutani's problem''' (after [[wikipedia:Shizuo Kakutani|Shizuo Kakutani]]), the '''Thwaites conjecture''' (after Sir Bryan Thwaites), and the '''Syracuse problem'''.<ref name="wp_collatz" /> | ||
| Line 82: | Line 78: | ||
== Computational verification == | == Computational verification == | ||
[[File:All Collatz sequences of a length inferior to 20.svg|thumb|360x360px|All Collatz sequences of a length inferior to 20]] | |||
Although no general proof exists, computers have verified the conjecture for enormous ranges of integers. As of the most recent exhaustive computations, the conjecture has been confirmed to hold for all positive integers up to <math>2^{68} \approx 2.95 \times 10^{20}</math> (roughly 295 quintillion), with no counterexample found.<ref name="tao2019">{{cite arXiv |last=Tao |first=Terence |title=Almost all orbits of the Collatz map attain almost bounded values |eprint=1909.03562 |year=2019}}</ref><ref name="springer2025">{{cite journal |title=Computational verification of the Collatz conjecture up to 2^71 |journal=The Journal of Supercomputing |year=2025 |doi=10.1007/s11227-025-07337-0}}</ref> | Although no general proof exists, computers have verified the conjecture for enormous ranges of integers. As of the most recent exhaustive computations, the conjecture has been confirmed to hold for all positive integers up to <math>2^{68} \approx 2.95 \times 10^{20}</math> (roughly 295 quintillion), with no counterexample found.<ref name="tao2019">{{cite arXiv |last=Tao |first=Terence |title=Almost all orbits of the Collatz map attain almost bounded values |eprint=1909.03562 |year=2019}}</ref><ref name="springer2025">{{cite journal |title=Computational verification of the Collatz conjecture up to 2^71 |journal=The Journal of Supercomputing |year=2025 |doi=10.1007/s11227-025-07337-0}}</ref> | ||
| Line 104: | Line 100: | ||
=== Technical details === | === Technical details === | ||
[[File:Collatz Fractal.jpg|thumb|360x360px|Collatz Fractal]] | |||
The project makes use of the '''parity sequence optimization''', a well-known algorithmic shortcut that condenses multiple Collatz steps into a single operation by analyzing the parity (odd/even) pattern of consecutive iterations, allowing the software to skip redundant even-division steps and test more integers per unit time.<ref name="tsbt">{{cite web |url=https://tsbt.co.uk/forum/viewtopic.php?t=9264 |title=Collatz Conjecture New Project Details |publisher=The Scottish BOINC Team |access-date=2026-06-07}}</ref> | The project makes use of the '''parity sequence optimization''', a well-known algorithmic shortcut that condenses multiple Collatz steps into a single operation by analyzing the parity (odd/even) pattern of consecutive iterations, allowing the software to skip redundant even-division steps and test more integers per unit time.<ref name="tsbt">{{cite web |url=https://tsbt.co.uk/forum/viewtopic.php?t=9264 |title=Collatz Conjecture New Project Details |publisher=The Scottish BOINC Team |access-date=2026-06-07}}</ref> | ||
| Line 138: | Line 134: | ||
== Scientific context == | == Scientific context == | ||
[[File:Lothar_Collatz.jpg|thumb|right|180px|Lothar Collatz (1910–1990), the German mathematician who proposed the 3x+1 conjecture in 1937.]] | |||
=== The 3x+1 problem in the literature === | === The 3x+1 problem in the literature === | ||
| Line 148: | Line 146: | ||
The Collatz Conjecture BOINC project is not the only computational effort aimed at the problem. The '''yoyo@home''' BOINC project independently checked all positive integers up to <math>10^{20} \approx 2^{66.4}</math> for convergence in 2017, using CPU-based methods with roughly 1,000 volunteers.<ref name="springer2025" /> A separate standalone computation by Tomas Oliveira e Silva in 2009 verified the conjecture up to approximately <math>5.76 \times 10^{18} \approx 2^{62.3}</math>.<ref name="springer2025" /> Collatz Conjecture BOINC focuses specifically on testing much larger numbers in ranges above what exhaustive sequential verification has covered. | The Collatz Conjecture BOINC project is not the only computational effort aimed at the problem. The '''yoyo@home''' BOINC project independently checked all positive integers up to <math>10^{20} \approx 2^{66.4}</math> for convergence in 2017, using CPU-based methods with roughly 1,000 volunteers.<ref name="springer2025" /> A separate standalone computation by Tomas Oliveira e Silva in 2009 verified the conjecture up to approximately <math>5.76 \times 10^{18} \approx 2^{62.3}</math>.<ref name="springer2025" /> Collatz Conjecture BOINC focuses specifically on testing much larger numbers in ranges above what exhaustive sequential verification has covered. | ||
== See also == | == See also == | ||
Revision as of 11:24, 7 June 2026
Collatz Conjecture was a volunteer distributed computing project built on the BOINC platform. Based in Wood Dale, Illinois, it is a privately managed project run by administrator Jon Sonntag, dedicated to computationally testing the famous Collatz conjecture in mathematics, also widely known as the 3x+1 problem or HOTPO (Half Or Triple Plus One).[1][2] The project continues work begun by the earlier 3x+1@home BOINC project, which ended in 2008.[3]
The Collatz Conjecture
The Collatz conjecture is one of the most famous and enduring unsolved problems in mathematics. It was first proposed by German mathematician Lothar Collatz (6 July 1910 – 26 September 1990) in 1937, two years after receiving his doctorate from the University of Berlin under Alfred Klose.[4] Despite its deceptively elementary statement, the conjecture has resisted all attempts at a general proof for nearly ninety years.
Statement of the conjecture
Define the Collatz function on the positive integers as follows:
Given any starting positive integer , one forms a sequence by repeatedly applying :
The Collatz conjecture asserts that no matter which positive integer is chosen, this sequence will eventually reach the number 1.[5]
A common shortcut collapses the two steps applied to an odd number into one, giving the equivalent Syracuse map:
where denotes the 2-adic valuation (the largest power of 2 dividing the argument). This form is used in several efficient computational implementations.
Hailstone sequences
Because the values in a Collatz sequence rise and fall unpredictably before eventually reaching 1, they are often called hailstone sequences or hailstone numbers, a name that evokes the way real hailstones tumble up and down inside a thundercloud before finally falling to the ground.[5] They are also sometimes called wondrous numbers.
As a striking example, starting from , the sequence takes 111 steps and climbs as high as 9,232 before descending to 1. Starting from , by contrast, only 10 steps are needed. There is no obvious pattern to how long a number takes to reach 1 (its total stopping time), which is part of what makes the problem so difficult.
The problem goes by several other names in the literature: the Ulam conjecture (after Stanislaw Ulam), Kakutani's problem (after Shizuo Kakutani), the Thwaites conjecture (after Sir Bryan Thwaites), and the Syracuse problem.[5]
Reactions from mathematicians
The difficulty of the conjecture is legendary. Paul Erdős, one of the most prolific mathematicians of the twentieth century, is reported to have said: Mathematics may not be ready for such problems.[5] Jeffrey Lagarias, who has compiled the definitive research bibliography on the problem, wrote in 2010 that the conjecture is an extraordinarily difficult problem, completely out of reach of present day mathematics.[6]
Computational verification

Although no general proof exists, computers have verified the conjecture for enormous ranges of integers. As of the most recent exhaustive computations, the conjecture has been confirmed to hold for all positive integers up to (roughly 295 quintillion), with no counterexample found.[7][8]
A notable milestone is Terence Tao's 2019 paper "Almost all orbits of the Collatz map attain almost bounded values," which proved that for any function with , the minimum element of the Collatz orbit of satisfies for almost all in the sense of logarithmic density.[7] While not a full proof, this was widely regarded as the most significant theoretical advance on the problem in decades.
A more recent effort, published in The Journal of Supercomputing (2025), pushed the verified limit to using GPU-accelerated algorithms distributed across several European supercomputers, with a total acceleration of compared to baseline CPU implementations and the discovery of four new path records along the way.[8]
About the BOINC project
Origins
The Collatz Conjecture BOINC project was launched in 2009 by Jon Sonntag of Wood Dale, Illinois, continuing work left off by the earlier 3x+1@home BOINC project, which had ended in 2008.[3][9] The project is self-funded and privately operated, without university or government backing — something its administrator has cited as a point of pride, demonstrating that a single motivated individual working part-time can run a competitive BOINC project.[10]
The project's stated goal is to search for a counterexample to the Collatz conjecture — a starting number whose sequence never reaches 1. Since all numbers below a given threshold have been verified elsewhere, the project focuses on progressively larger ranges, having started from around . As Sonntag put it in a 2011 interview, at peak activity volunteers were collectively testing roughly 40 quadrillion numbers per day, far exceeding initial expectations.[10]
GPU computing and early milestones
Collatz Conjecture holds a notable place in BOINC history as one of the first projects to support AMD/ATI graphics cards without requiring volunteers to supply a custom app_info.xml file. This was made possible by collaborations with BOINC community developers "Crunch3r" (who contributed BOINC client work) and "Gipsel" (who wrote hand-optimized GPU assembly code for ATI hardware).[10] These contributions, and Gipsel's hand-written GPU assembly in particular, demonstrated how much faster GPU-based computation could be compared to CPU-only methods.
At the time the project launched in 2009, MilkyWay@home was essentially the only other BOINC project supporting ATI GPU computing, and it suffered from frequent outages. Sonntag explicitly wanted to give GPU volunteers an alternative, and also to push the frontier of GPU support within BOINC.[10]
Technical details

The project makes use of the parity sequence optimization, a well-known algorithmic shortcut that condenses multiple Collatz steps into a single operation by analyzing the parity (odd/even) pattern of consecutive iterations, allowing the software to skip redundant even-division steps and test more integers per unit time.[11]
The application is available for multiple platforms and computing devices:
| Platform | Supported devices |
|---|---|
| Windows | CPU, NVIDIA GPU (CUDA), AMD GPU (OpenCL), Intel GPU (OpenCL) |
| Linux | CPU, NVIDIA GPU, AMD GPU, Intel GPU |
| macOS | CPU, GPU (OpenCL) |
| Android | CPU |
For GPU computing, minimum requirements include an AMD Radeon HD 5000 or later with OpenCL 1.1 support, an NVIDIA GeForce 8400 GS or later with a recent NVIDIA driver, or an Intel HD 2500 or later with Intel's OpenCL runtime.[11]
Because spammers created large numbers of bogus accounts in the project's early years, invite codes are required to register. The code changes periodically and is available from the project administrator.[12]
2018 hardware failure
In early 2018 the project suffered a complete hardware failure, and nearly all data was lost. Credit totals were eventually recovered and restored to participants. Shortly after recovering, new achievement badges were introduced for the project.[3]
Reliability and downtime
As a privately hosted project, Collatz Conjecture has experienced periodic outages over the years, typically related to server hardware, dynamic DNS configuration, or code-signing key renewal. The project's forum and server share the same infrastructure, which can complicate communication during outages. When such events occur, the administrator has generally addressed them promptly via BOINC community forums.[13]
Credit and performance
Collatz Conjecture is well known within the BOINC community for issuing substantial amounts of BOINC credit relative to computation time, particularly for GPU tasks. Community benchmarks have indicated that a high-end GPU can generate on the order of millions of BOINC cobblestones per day on this project. This generosity in credit issuance has attracted both enthusiastic participants and some controversy in BOINC forums.[12]
Scientific context

The 3x+1 problem in the literature
The Collatz conjecture sits at the intersection of elementary number theory and computational mathematics. The authoritative research compilation is Jeffrey Lagarias's annotated bibliography, The 3x+1 Problem: An Annotated Bibliography (2006, updated), which lists hundreds of papers touching on the problem from every angle.[6]
Key theoretical results prior to Tao's 2019 paper include Krasikov and Lagarias (2003), who proved that the count of integers in satisfying the conjecture grows at least as fast as for sufficiently large .[7] Conway (1972) showed that a slight variant of the problem is undecidable, suggesting the original problem sits at the very edge of the decidability threshold.[5]
Related volunteer computing efforts
The Collatz Conjecture BOINC project is not the only computational effort aimed at the problem. The yoyo@home BOINC project independently checked all positive integers up to for convergence in 2017, using CPU-based methods with roughly 1,000 volunteers.[8] A separate standalone computation by Tomas Oliveira e Silva in 2009 verified the conjecture up to approximately .[8] Collatz Conjecture BOINC focuses specifically on testing much larger numbers in ranges above what exhaustive sequential verification has covered.
See also
References
- ↑ (9 May 2013).Collatz Conjecture. BOINC Berkeley. Retrieved 2026-06-07.
- ↑ Jon Sonntag.Collatz Conjecture project home. Retrieved 2026-06-07.
- ↑ 3.0 3.1 3.2 Collatz Conjecture. BC-Wiki. Retrieved 2026-06-07.
- ↑ Lothar Collatz (1910–1990). MacTutor History of Mathematics. Retrieved 2026-06-07.
- ↑ 5.0 5.1 5.2 5.3 5.4 Collatz conjecture. Wikipedia. Retrieved 2026-06-07.
- ↑ 6.0 6.1 (2010).The Ultimate Challenge: The 3x+1 Problem. American Mathematical Society. ISBN 978-0-8218-4940-8.
- ↑ 7.0 7.1 7.2 Template:Cite arXiv
- ↑ 8.0 8.1 8.2 8.3 (2025).Computational verification of the Collatz conjecture up to 2^71. The Journal of Supercomputing. DOI: 10.1007/s11227-025-07337-0.
- ↑ Collatz Conjecture forum. BOINC@Australia. Retrieved 2026-06-07.
- ↑ 10.0 10.1 10.2 10.3 (September 2011).About project Collatz Conjecture first-hand (Interview with the Project Manager). BOINC.RU. Retrieved 2026-06-07.
- ↑ 11.0 11.1 Collatz Conjecture New Project Details. The Scottish BOINC Team. Retrieved 2026-06-07.
- ↑ 12.0 12.1 About Collatz Conjecture. AnandTech Forums. Retrieved 2026-06-07.
- ↑ (14 May 2019).Collatz Conjecture Down?. BOINC message boards. Retrieved 2026-06-07.
External links
- https://web.archive.org/web/20220216091746/https://boinc.thesonntags.com/collatz/ – Web Archive of the project
- https://en.wikipedia.org/wiki/Collatz_conjecture – Wikipedia: Collatz conjecture
- https://arxiv.org/abs/1909.03562 – Terence Tao (2019): "Almost all orbits of the Collatz map attain almost bounded values"
- https://boinc.berkeley.edu/wiki/Collatz_Conjecture – BOINC project listing
