This is indeed a very fun problem, so I couldn't resist making a quick @observablehq notebook for it https://observablehq.com/@mourner/collatz-conjecture-3x-1 … — thank you @michael_nielsen @AlexKontorovich!https://twitter.com/michael_nielsen/status/1172915708038004736 …
-
-
Heh, I suspected someone already did it! Anyway, really cool to explore this. I was also surprised by how fast BigInts work in modern browsers — the chart updates very fast in my notebook even for very big numbers.
-
Agreed about the performance! Though I had an amusing early bug with a while loop that checked for n === 1 with n a BigInt...
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.