Is anyone else interested in the 3n+1 problem?number of steps, count of even and odd steps, and anything else I can think of to help find some sort of pattern.
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
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 251 |
Nodes: | 16 (3 / 13) |
Uptime: | 15:28:42 |
Calls: | 5,567 |
Calls today: | 6 |
Files: | 11,682 |
Messages: | 5,125,819 |
Posted today: | 1 |