author | Christian Urban <urbanc@in.tum.de> |
Tue, 07 Nov 2017 13:08:18 +0000 | |
changeset 127 | b4def82f3f9f |
parent 125 | dcaab8068baa |
permissions | -rw-r--r-- |
125 | 1 |
|
2 |
||
127 | 3 |
assert(CW6a.collatz_max(10) == (20, 9)) |
125 | 4 |
|
127 | 5 |
assert(CW6a.collatz_max(100) == (119, 97)) |
125 | 6 |
|
127 | 7 |
assert(CW6a.collatz_max(1000) == (179, 871)) |
125 | 8 |
|
127 | 9 |
assert(CW6a.collatz_max(10000) == (262, 6171)) |
125 | 10 |
|
127 | 11 |
assert(CW6a.collatz_max(100000) == (351, 77031)) |
125 | 12 |
|
127 | 13 |
assert(CW6a.collatz_max(1000000) == (525, 837799)) |