1. Home
  2. Explore
  3. Mathematics
  4. Collatz Conjecture Explained

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Collatz Conjecture Explained

Speaker 1Speaker 2

Collatz Conjecture Explained

11:29
0:00-11:29
  1. Hope

    Hey Anna, have you ever heard of the Collatz conjecture? It's often called the most dangerous problem in mathematics, which sounds pretty dramatic for a math problem, right?

  2. Anna

    The Collatz conjecture? I've come across it a few times. I remember hearing that mathematicians are actually warned against working on it. It's wild that something so seemingly simple could be considered dangerous.

  3. Hope

    Exactly! Paul Erdos, a famous mathematician, even said that 'Mathematics is not yet ripe enough for such questions.' It makes you wonder what makes it so intractable. The rules are incredibly straightforward.

  4. Anna

    True, the rules are easy to understand. You pick a number, if it's odd, you multiply by three and add one. If it's even, you divide by two. And then you just keep repeating those two steps, right?

  5. Hope

    That's right! Let's try it with seven. Seven is odd, so three times seven is 21, plus one is 22. Now, 22 is even, so we divide by two, which gives us 11. What's next?

  6. Anna

    Okay, 11 is odd, so three times 11 is 33, plus one is 34. Then 34 is even, so divide by two, that's 17. See, it goes up and down, just like hailstones in a thundercloud, which is why they're sometimes called hailstone numbers.

  7. Hope

    That's a great analogy! If we keep going with 17: it's odd, so 3*17+1 = 52. Even, 52/2 = 26. Even, 26/2 = 13. Odd, 3*13+1 = 40. Even, 40/2 = 20. Even, 20/2 = 10. Even, 10/2 = 5.

  8. Anna

    And from five: odd, so 3*5+1 = 16. Even, 16/2 = 8. Even, 8/2 = 4. Even, 4/2 = 2. Even, 2/2 = 1. And that's where the magic happens! Once you hit one, you get into a loop: one is odd, so 3*1+1 = 4, then 4/2 = 2, then 2/2 = 1. It just keeps cycling through 4-2-1.

  9. Hope

    Exactly! The conjecture is that every positive integer, no matter how big, will eventually end up in that 4-2-1 loop if you apply these rules. It's a remarkably simple statement for something so difficult to prove.

  10. Anna

    It's incredible that such a simple premise can lead to such complexity. It's also known by so many other names, like the Ulam conjecture, Kakutani's problem, or simply 3N+1. That just shows how many people have tackled it.

  11. Hope

    It really does. Why do you think it's so infamous among mathematicians, to the point where they're almost ashamed to admit working on it?

  12. Anna

    Well, I think it's because it feels like it should be solvable, but it keeps eluding everyone. It's deceptively simple to state but incredibly hard to crack, making it a bit of a career trap for young mathematicians.

  13. Hope

    That makes sense. It's like a siren song for mathematicians. The hailstone numbers, as we just saw, can go quite high before eventually falling down to one. Take 26 for example, it hits 40 meters high before dropping to one in 10 steps.

  14. Anna

    And that's its total stopping time, 10 steps. But the next number, 27, is truly wild. It climbs all the way up to 9,232, higher than Mount Everest, before finally making its descent. That takes 111 steps!

  15. Hope

    Right? The paths are so varied, even for consecutive numbers. It makes finding a pattern incredibly difficult. Some people even joked that it was invented by the Soviets to slow down US science because people would just get stuck on it.

  16. Anna

    That's a funny thought! Jeffrey Lagarias, who is considered the world authority on 3x+1, actually advises young mathematicians against working on it. He tells them to 'do real math' first to establish their careers.

  17. Hope

    And yet, some, like Alex Kontorovich, don't listen. He and Yakov Sinai looked at the paths of these hailstone numbers and found something interesting: randomness. The sequence, when plotted logarithmically, shows a wiggly graph with a downward trend.

  18. Anna

    That's fascinating! It resembles a stock market graph on a bad day. This behavior is similar to geometric Brownian motion, where the fluctuations are random, like flipping a coin at each step. Over time, it trends downwards, unlike the stock market which usually trends up.

  19. Hope

    Another way to analyze it is by looking at the leading digit of numbers in the sequence. If you compile a histogram for millions of these sequences, you find that the digit one appears most frequently, about 30% of the time.

  20. Anna

    Yes, and the frequency decreases for higher digits, with nine appearing less than 5% of the time. This pattern is known as Benford's law, and it's not unique to 3x+1. It appears in populations, company values, and even physical constants.

  21. Hope

    It's even used to detect fraud in things like income tax forms! If the numbers don't obey Benford's law, it might indicate tampering. But while it's a cool statistical property, it doesn't help us prove or disprove the Collatz conjecture.

  22. Anna

    Exactly. At first glance, it seems counterintuitive that all numbers would fall to one. Odd numbers are tripled and then some, while even numbers are only halved. You'd think sequences would grow rather than shrink.

  23. Hope

    That's the catch! When you multiply an odd number by three and add one, it always becomes an even number, meaning the next step is always to divide by two. So, odd numbers are effectively increased by a factor of about three over two, not three.

  24. Anna

    Right, and we neglect the plus one for large numbers because it becomes insignificant. What's even more interesting is the path from one odd number to the next odd number. Sometimes you divide by two, sometimes by four, or even eight.

  25. Hope

    And if you take the geometric mean of these different divisions, you find that on average, to get from one odd number to the next, you multiply by three over four, which is less than one! So statistically, sequences are more likely to shrink than grow.

  26. Anna

    That's the key insight! It explains why most numbers tend to fall. For example, with 341, you multiply by three and add one to get 1024, which can be divided by two ten times until it reaches one.

  27. Hope

    Visualizing these paths as a directed graph is quite elegant. It looks like a tree or many little streams flowing into a main river, which is the 4-2-1 loop. If the conjecture is true, every number, even out to infinity, connects to this graph.

  28. Anna

    Some mathematicians even create these beautiful coral or seaweed-like structures by rotating the graph at each number, anticlockwise for odd, clockwise for even. It's a stunning artistic representation of the problem.

  29. Hope

    It shows the intricate complexity stemming from simple rules. Now, there are two ways the conjecture could be false. One, a number could shoot off to infinity, never falling back down. Two, there could be a hidden loop of numbers, unconnected to the 4-2-1 cycle.

  30. Anna

    And despite extensive testing, neither of these has been found! Mathematicians have brute-forced every number up to two to the 68th power, which is an astronomical number, nearly 300 quintillion.

  31. Hope

    Right, and every single one of those numbers eventually descends to one. Based on this, mathematicians estimate that any other loop would have to be at least 186 billion numbers long, which is mind-boggling.

  32. Anna

    It makes it seem highly probable that the conjecture is true, but that's not a proof. One approach to proving it involves showing that in every 3x+1 sequence, there's a number smaller than the original seed.

  33. Hope

    If that could be shown, it would mean every number eventually gets smaller and smaller until it inevitably hits one. But this hasn't been proven for all numbers, only for 'almost all' numbers.

  34. Anna

    Yes, Riho Terras in 1976 showed that almost all sequences reach a point below their initial value. Then Terry Tao, in 2019, proved that almost all numbers will end up smaller than any arbitrarily slow-rising function, like log x.

  35. Hope

    That's an incredibly powerful result. Terry Tao himself said it's 'about as close as one can get to the Collatz conjecture without actually solving it.' Still, 'almost all' isn't the same as 'all'.

  36. Anna

    It leaves that tiny, albeit mathematically significant, possibility open. Why are we so confident it's true, then, if it hasn't been proven? Could it be that it's not true, and we're just not looking for counterexamples hard enough?

  37. Hope

    That's a valid point. Sometimes focusing solely on proving something true can blind you to a counterexample. If someone finds one, it could change the whole understanding of the problem.

  38. Anna

    I mean, 27 shoots up to 9,232. What if some number just keeps growing indefinitely? Or what if there's a different loop out there? It's just so hard to imagine given the sheer number of tests conducted.

  39. Hope

    It is. Although, if you include negative numbers, there are actually three independent loops, starting at low values like -17 and -5. Why would the positive side behave so differently?

  40. Anna

    That's a great question, it highlights the peculiarity of numbers. Terry Tao's proof about 'almost all' numbers reaching arbitrarily small values is strong evidence, but remember the perfect squares analogy.

  41. Hope

    Ah, yes. Almost all numbers are not perfect squares, meaning the fraction of non-squares goes to one as numbers go to infinity. Yet, we know there's an infinite number of perfect squares and we know exactly where they are.

  42. Anna

    Exactly. So, 'almost all' doesn't mean 'all'. The fact that we've checked up to two to the 68th power seems massive, but in the grand scheme of all numbers, it's virtually nothing.

  43. Hope

    It's like the Polya conjecture, which was proven false by a counterexample at 1.845 times 10 to the 361st power. That's exponentially larger than what we've tested for Collatz.

  44. Anna

    It really puts it into perspective. Thinking of it as a simple program on a Turing machine helps. We've just tested inputs up to 68 squares long. That's not enough to guarantee anything for all inputs.

  45. Hope

    It's true. You can calculate numbers that exhibit specific behaviors for a finite section, like increasing by three over two five times in a row. But after that finite section, you lose control.

  46. Anna

    And every number tested, despite any initial complex behavior, always eventually falls to one. It seems impossible to guess a counterexample, and brute force is too vast for the entire number space.

  47. Hope

    It makes you wonder if it's truly undecidable, like John Conway's FRACTRAN, a generalization of 3x+1. FRACTRAN is Turing-complete, meaning it can do anything a computer can, but is also subject to the halting problem.

  48. Anna

    So, it's possible the Collatz conjecture itself might be undecidable, meaning we may never know for sure if it's true or false. That's a humbling thought, especially for such a simple-looking problem.

  49. Hope

    It really is. It challenges the idea that math always provides neat solutions. As one mathematician put it, 'all of the things that we can solve are miracles. We have no right to have solutions to all of these other problems.'

  50. Anna

    It highlights the peculiar nature of numbers. The coral representation really shows how intricate and organic these paths can be, making it seem like a natural phenomenon rather than a rigid mathematical structure.

  51. Hope

    Right? That's why I think Paul Erdos's quote about mathematics not being ripe enough is so profound. We might just not have the tools or the understanding yet to tackle something this fundamental.

  52. Anna

    It's a beautiful mystery, something almost anyone can understand and play with, yet it stumps the best minds in the world. It’s a great reminder that there's so much more to discover in mathematics.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent