Collatz Conjecture
The Collatz conjecture{{cite book |last1=Maddux |first1=Cleborne D. |last2=Johnson |first2=D. Lamont |year=1997 |title=Logo: A Retrospective |publisher=Haworth Press |location=New York |isbn=0-7890-0374-0 |page=160 |quo…
以下正文同步自 Hacker News 最新,版权归原站所有,已转换为易读排版。
The Collatz conjecture{{cite book |last1=Maddux |first1=Cleborne D. |last2=Johnson |first2=D. Lamont |year=1997 |title=Logo: A Retrospective |publisher=Haworth Press |location=New York |isbn=0-7890-0374-0 |page=160 |quote=The problem is also known by several other names, including: Ulam's conjecture, the Hailstone problem, the Syracuse problem, Kakutani's problem, Hasse's algorithm, and the Collatz problem.}}</ref>{{refn|According to {{named ref|name=Lagarias (1985)}} p. 4, the name "Syracuse problem" was proposed by Hasse in the 1950s, during a visit to [[Syracuse University]].}}"}},"i":0}}]}">[a] is one of the most famous unsolved problems in mathematics. The conjecture asks whether repeating two simple arithmetic operations will eventually transform every positive integer into 1. It concerns sequences of integers in which each term is obtained from the previous term as follows: if a term is even, the next term is one half of it. If a term is odd, the next term is 3 times the previous term plus 1. The conjecture is that these sequences always reach 1, no matter which positive integer is chosen to start the sequence. The conjecture has been shown to hold for all positive integers up to 2.36×1021, but no general proof has been found.
It is named after the mathematician Lothar Collatz, who introduced the idea in 1937, two years after receiving his doctorate.[4] The sequence of numbers involved is sometimes referred to as the hailstone sequence, hailstone numbers or hailstone numerals (because the values are usually subject to multiple descents and ascents like hailstones in a cloud),[5] or as wondrous numbers.[6]
Paul Erdős said about the Collatz conjecture: "Mathematics may not be ready for such problems."[7] Jeffrey Lagarias stated in 2010 that the Collatz conjecture "is an extraordinarily difficult problem, completely out of reach of present day mathematics".[8] However, though the Collatz conjecture itself remains open, efforts to solve the problem have led to new techniques and many partial results.[8][9]
Consider the following operation on an arbitrary positive integer:
In modular arithmetic notation, define the function f as follows:
f ( n )
{
n
/
2
if
n ≡ 0
( mod
2 )
,
3 n + 1
if
n ≡ 1
( mod
2 )
.
{\displaystyle f(n)={\begin{cases}n/2&{\text{if }}n\equiv 0{\pmod {2}},\3n+1&{\text{if }}n\equiv 1{\pmod {2}}.\end{cases}}}
Now form a sequence by performing this operation repeatedly, beginning with any positive integer, and taking the result at each step as the input at the next.
In notation: 0 \end{cases}"}}'>0\end{cases}}}">
a
i
=
{
n
for
i
0 ,
f (
a
i − 1
)
for
i
0
{\displaystyle a_{i}={\begin{cases}n&{\text{for }}i=0,\f(a_{i-1})&{\text{for }}i>0\end{cases}}}
0\end{cases}}}"/> (that is: i</sub>''"}},"i":0}}]}'>ai is the value of f applied to n recursively i times; i</sub>'' {{=}} ''f''{{hsp}}{{isup|''i''}}(''n'')"}},"i":0}}]}'>ai = f i(n)).
The Collatz conjecture is: This process will eventually reach the number 1, regardless of which positive integer is chosen initially. That is, for each
n
{\displaystyle n}
, there is some
i
{\displaystyle i}
with
a
i
= 1
{\displaystyle a_{i}=1}
.
If the conjecture is false, it can only be because there is some starting number which gives rise to a sequence that does not contain 1. Such a sequence would either enter a repeating cycle that excludes 1, or increase without bound. No such sequence has been found.
The smallest i such that i</sub>'' < ''a''<sub>0</sub> "}},"i":0}}]}'>ai < a0 (i.e., how many iterations to reach a number less than the starting number) is called the stopping time of n. Similarly, the smallest k such that k</sub>'' {{=}} 1"}},"i":0}}]}'>ak = 1 (i.e., how many iterations to reach 1) is called the total stopping time of n.[2] If one of the indexes i or k does not exist, we say that the stopping time or the total stopping time, respectively, is infinite.
The Collatz conjecture asserts that the total stopping time of every n is finite. It is also equivalent to saying that every n ≥ 2 has a finite stopping time.
Since 3n + 1 is even whenever n is odd, one may instead use the "shortcut" form of the Collatz function:
f ( n )
{
n 2
if
n ≡ 0
( mod
2 )
,
3 n + 1
2
if
n ≡ 1
( mod
2 )
.
{\displaystyle f(n)={\begin{cases}{\frac {n}{2}}&{\text{if }}n\equiv 0{\pmod {2}},\{\frac {3n+1}{2}}&{\text{if }}n\equiv 1{\pmod {2}}.\end{cases}}}
This definition yields smaller values for the stopping time and total stopping time without changing the overall dynamics of the process.
For instance, starting with n = 12 and applying the function f without "shortcut", one gets the sequence 12, 6, 3, 10, 5, 16, 8, 4, 2, 1 .
The number n = 19 takes longer to reach 1: 19, 58, 29, 88, 44, 22, 11, 34, 17, 52, 26, 13, 40, 20, 10, 5, 16, 8, 4, 2, 1 .
The sequence for n = 27, listed and graphed below, takes 111 steps (41 steps through odd numbers, in bold), climbing as high as 9232 before descending to 1.
Numbers with a total stopping time longer than that of any smaller starting value form a sequence beginning with:
The starting values whose maximum trajectory point is greater than that of any smaller starting value are as follows:
The starting value having the largest total stopping time while being
These numbers are the lowest ones with the indicated step count, but not necessarily the only ones below the given limit. As an example, 9780657631 has 1132 steps, as does 9780657630.
The starting values having the smallest total stopping time with respect to their number of digits (in base 2) are the powers of two, since ''n''</sup>"}},"i":0}}]}'>2n is halved n times to reach 1, and it is never increased.
Although the conjecture has not been proven, most mathematicians[citation needed] who have looked into the problem think the conjecture is true because experimental evidence and heuristic arguments support it.
The conjecture has been checked by computer for all starting values up to 271 ≈ 2.36×1021. All values tested so far converge to 1.[12]
This computer evidence is still not rigorous proof that the conjecture is true for all starting values, as counterexamples may be found when considering very large positive integers, as in the case of the disproven Pólya conjecture and Mertens conjecture.
However, such verifications may have other implications. Certain constraints on any non-trivial cycle, such as lower bounds on the length of the cycle, can be proven based on the value of the lowest term in the cycle. Therefore, computer searches to rule out cycles that have a small lowest term can strengthen these constraints.[13][14][15]
If one considers only the odd numbers in the sequence generated by the Collatz process, then each odd number is on average 3/4 of the previous one.[16] (More precisely, the geometric mean of the ratios of outcomes is 3/4.) This yields a heuristic argument that every Hailstone sequence should decrease in the long run, although this is not evidence against other cycles, only against divergence. The argument is not a proof, however, because it assumes that Hailstone sequences are assembled from uncorrelated probabilistic events. (It does rigorously establish that the 2-adic extension of the Collatz process has two division steps for every multiplication step for almost all 2-adic starting values.)
As proven by Riho Terras, almost every positive integer has a finite stopping time.[b][17] In other words, almost every Collatz sequence reaches a point that is strictly below its initial value. The proof is based on the distribution of parity vectors and uses the central limit theorem.
In 2019, Terence Tao improved this result by showing, using logarithmic density, that almost all (in the sense of logarithmic density) Collatz orbits descend below any given function of the starting point, provided that this function diverges to infinity, no matter how slowly. Responding to this work, Quanta Magazine wrote that Tao "came away with one of the most significant results on the Collatz conjecture in decades".[9][18]
In a computer-aided proof, Krasikov and Lagarias showed that the number of integers in the interval [1,x] that eventually reach 1 is at least equal to 0.84</sup>"}},"i":0}}]}'>x0.84 for all sufficiently large x.[19]
In this part, consider the shortcut form of the Collatz function
f ( n )
{
n 2
if
n ≡ 0
( mod
2 )
,
3 n + 1
2
if
n ≡ 1
( mod
2 )
.
{\displaystyle f(n)={\begin{cases}{\frac {n}{2}}&{\text{if }}n\equiv 0{\pmod {2}},\{\frac {3n+1}{2}}&{\text{if }}n\equiv 1{\pmod {2}}.\end{cases}}}
A cycle is a sequence 0</sub>, ''a''<sub>1</sub>, ..., ''a<sub>q</sub>'')"}},"i":0}}]}'>(a0, a1, ..., aq) of distinct positive integers where 0</sub>) {{=}} ''a''<sub>1</sub>"}},"i":0}}]}'>f(a0) = a1, 1</sub>) {{=}} ''a''<sub>2</sub>"}},"i":0}}]}'>f(a1) = a2, ..., and q</sub>'') {{=}} ''a''<sub>0</sub>"}},"i":0}}]}'>f(aq) = a0.
The only known cycle is (1,2) of period 2, called the trivial cycle.
As of 2025, the best known bound on cycle length is 217976794617 (355504839929 without shortcut).[12] In 1993, Eliahou proved that the period p of any non-trivial cycle is of the form
p
301994 a + 17087915 b + 85137581 c
{\displaystyle p=301994a+17087915b+85137581c}
where a, b and c are non-negative integers, b ≥ 1 and ac = 0. This result is based on the simple continued fraction expansion of ln 3/ln 2.[14]
A k-cycle is a cycle that can be partitioned into k contiguous subsequences, each consisting of an increasing sequence of odd numbers, followed by a decreasing sequence of even numbers.[15] For instance, if the cycle consists of a single increasing sequence of odd numbers followed by a decreasing sequence of even numbers, it is called a 1-cycle.
Steiner (1977) proved that there is no 1-cycle other than the trivial (1; 2).[20] Simons (2005) used Steiner's method to prove that there is no 2-cycle.[21] Simons and de Weger (2005) extended this proof up to 68-cycles; there is no k-cycle up to k = 68.[15] Hercher extended the method further and proved that there exists no k-cycle with k ≤ 91.[22] As exhaustive computer searches continue, larger k values may be ruled out. To state the argument more intuitively; we do not have to search for cycles that have less than 92 subsequences, where each subsequence consists of consecutive ups followed by consecutive downs.[clarification needed]
There is another approach to prove the conjecture, which considers the bottom-up method of growing the so-called Collatz graph, a graph defined by the inverse relation
R ( n )
{
{ 2 n }
if
n ≡ 0 , 1 , 2 , 3 , 5
{
2 n ,
n − 1
3
}
if
n ≡ 4
( mod
6 )
.
{\displaystyle R(n)={\begin{cases}{2n}&{\text{if }}n\equiv 0,1,2,3,5\\left{2n,{\frac {n-1}{3}}\right}&{\text{if }}n\equiv 4\end{cases}}{\pmod {6}}.}
So, instead of proving that all positive integers eventually lead to 1, we can try to prove that 1 leads backwards to all positive integers. For any integer n, n ≡ 1 (mod 2) if and only if 3n + 1 ≡ 4 (mod 6). Equivalently, n − 1/3 ≡ 1 (mod 2) if and only if n ≡ 4 (mod 6). Conjecturally, this inverse relation forms a tree for positive integers except for the 1–2–4 loop (the inverse of the 4–2–1 loop of the unaltered function f defined in the Statement of the problem section of this article).
When the relation 3n + 1 of the function f is replac
正文由 探How 从来源站点 RSS 同步,内容未经改写;遇到排版缺失或需要图片、视频时请以原文为准。