Consider: are all programs that don’t halt infinite loops?
Perhaps one which experiences exponential growth in some variable.
Perhaps one which experiences exponential growth in some variable.
x = 0.035876; while true { x = 3.5699456 * x * (1 - x); if x == rand() break; } does it halt?