n → n / 2
Collatz Conjecture Explorer — The 3n + 1 Problem
Live sequence & trajectory
Type a number and hit Start
Watch the hailstone sequence climb and crash to 1. Try 27 for a 111-step ride to 9,232.
n → 3n + 1
when n = 1
268 ≈ 2.95 × 1020
What is the Collatz Conjecture?
The Collatz Conjecture — also called the 3n + 1 problem, hailstone sequence, or Syracuse problem — is one of the most famous unsolved problems in mathematics. Proposed by Lothar Collatz in 1937, it states that for any positive integer, repeatedly applying a simple rule will always eventually reach 1.
If n is odd: n → 3n + 1
Repeat until you reach 1.
Despite its simple formulation, no one has been able to prove this is true for all positive integers. It has been computationally verified for all numbers up to 268 (approximately 295 quintillion), yet a general proof remains elusive.
Famous Collatz sequences
27 — the classic
111 steps, peaks at 9,232. A small number with a surprisingly long and dramatic trajectory.
871 — high peak
178 steps, peaks at 190,996. Reaches extreme heights before descending to 1.
6,171 — long journey
261 steps to reach 1. One of the longest sequences for numbers under 10,000.
63 — deceptively long
108 steps from a two-digit number. Shows how small inputs produce long sequences.
Why is it unsolved?
The Collatz Conjecture resists proof because the sequence behaviour appears chaotic and unpredictable. The interplay between multiplication (3n + 1) and division (n / 2) creates orbits that seem random, making it extremely difficult to establish any general pattern that would apply to all integers.
In 2019, Fields Medalist Terence Tao proved that almost all Collatz orbits attain almost bounded values — the strongest partial result to date. A complete proof covering every positive integer remains out of reach.