3 ms·
a typo in the collatz description: C (2k + 1) = C (3k + 2) should be C (2k + 1) = C (6k + 4)
by brilee 5y ago
a typo in the collatz description:
C (2k + 1) = C (3k + 2)
should be
C (2k + 1) = C (6k + 4)
- mattashii 5y agoyes, but note that those two are the same when C (2k) is applied as well. C (2k + 1) = C (3k + 2) saves you one step of computation, which can save you a lot of time if you're applying the steps.