On 8/31/23 11:29, Ronald Hudson wrote:
Is anyone else interested in the 3n+1 problem?
My first program after "hello world" is usually Colatz. It takes a positive integer as an input and runs the colatz (3n+1) process on it until it reaches 1. it watches to see what the maximum number reached is, when n drops below its initial value, the
number of steps, count of even and odd steps, and anything else I can think of to help find some sort of pattern.
"Approved"? In an unmoderated Usenet newsgroup? Heh. ;)
Just post the source code as plain text.
-Dave
--
Dave McGuire, President/Curator
Large Scale Systems Museum
New Kensington, PA
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)