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: | 379 |
Nodes: | 16 (2 / 14) |
Uptime: | 68:14:53 |
Calls: | 8,084 |
Calls today: | 2 |
Files: | 13,068 |
Messages: | 5,849,529 |