5 ms·
Here's another "don't know" example, albeit for a very different reason: Does following program halt for all x? while x != 1: if x % 2 == 0: x
by zaik 5y ago
Here's another "don't know" example, albeit for a very different reason: Does following program halt for all x?
while x != 1:
if x % 2 == 0:
x = x // 2
else:
x = 3 * x + 1
- TYMorningCoffee 5y agoSome context for those that don't recognize it: https://en.wikipedia.org/wiki/Collatz_conjecture https://en.wikipedia.org/wiki/Collatz_conjecture
- fuzzythinker 5y agoAka the "3n + 1" problem, Ve explains it pretty well https://www.youtube.com/watch?v=094y1Z2wpJg https://www.youtube.com/watch?v=094y1Z2wpJg