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: | 299 |
Nodes: | 16 (2 / 14) |
Uptime: | 73:11:46 |
Calls: | 6,694 |
Calls today: | 4 |
Files: | 12,228 |
Messages: | 5,346,773 |
Posted today: | 1 |