A short preview post on the Collatz conjecture, which is what happens when arithmetic sounds simple and then refuses to leave.
The Collatz conjecture is one of those mathematical ideas that sounds like it was invented by someone trying to prank future generations.
Take any positive integer.
That is the whole setup. No Greek tragedy. No giant apparatus. Just a tiny rulebook with the energy of someone saying, "Relax, this will only take a minute," right before you lose your entire evening.
Try it with 6.
6 -> 3 -> 10 -> 5 -> 16 -> 8 -> 4 -> 2 -> 1
Very tidy. Almost suspiciously tidy. The claim is that every positive integer eventually falls to 1 if you keep applying the rule.
And here is where mathematics becomes deeply unserious in a very serious way: nobody has proved it.
Collatz is charming because it gives you the emotional rhythm of a toy problem and the professional consequences of a wall. You can explain it to a bright twelve-year-old in under a minute. You can also hand it to the global mathematics community and watch everyone develop the same thousand-yard stare.
The iterations feel random, but not fully random. Numbers jump up, then collapse, then wander around a bit like they are looking for parking. Patterns seem to appear. Then they vanish. It is a perfect machine for producing false confidence.
Here is a small Python version that prints the Collatz trajectory for a starting number:
def collatz_path(start: int) -> list[int]:
if start < 1:
raise ValueError("start must be a positive integer")
n = start
path = [n]
while n != 1:
if n % 2 == 0:
n //= 2
else:
n = 3 * n + 1
path.append(n)
return path
print(collatz_path(27))
The funny part is 27 is a terrible first date for this function. It does eventually reach 1, but only after wandering through enough intermediate values to make you question whether integers should be supervised.
Collatz is what happens when a problem has:
Which is why people keep coming back to it. The rule is small enough to fit in your head, but the proof keeps politely not existing. Mathematics loves doing this. It gives you a children's puzzle, waits for you to smile, and then quietly locks the door.
For a preview post, though, Collatz is perfect. One sharp rule, one nice code block, and one reminder that "simple" is maybe the most dangerous adjective in the language.
Or back to the archive.
Can't match that one. But it's probably here.