you are viewing a single comment's thread
view the rest of the comments
[–] 5 points 6 months ago* (last edited 6 months ago) (2 children)

No matter what wouldn't this grow to infinite passengers? Is that supposed to be the point?

Because any even number is going to halve itself down to 1, which is odd an odd number, then double plus one will always make another odd number so it would grow to infinity.

Edit: Misread the problem, read replies for explanations

  • source
  • hideshow 4 child comments
  • [–] 8 points 6 months ago (1 child)

    It's stated wrongly. The Collatz Conjecture is about the case where you triple an odd number and add one, that way you enter a loop if you get down to 1 (1 -> 4 -> 2 -> 1)

  • source
  • parent
  • hideshow 2 child comments