author | Christian Urban <urbanc@in.tum.de> |
Fri, 23 Feb 2018 22:26:42 +0000 | |
changeset 170 | 37b1bfcdba79 |
parent 158 | 94b11ac19b41 |
child 210 | 63a1376cbebd |
permissions | -rw-r--r-- |
158 | 1 |
|
2 |
||
3 |
assert(CW6a.collatz_max(10) == (20, 9)) |
|
4 |
||
5 |
assert(CW6a.collatz_max(100) == (119, 97)) |
|
6 |
||
7 |
assert(CW6a.collatz_max(1000) == (179, 871)) |
|
8 |
||
9 |
assert(CW6a.collatz_max(10000) == (262, 6171)) |
|
10 |
||
11 |
assert(CW6a.collatz_max(100000) == (351, 77031)) |
|
12 |
||
13 |
assert(CW6a.collatz_max(1000000) == (525, 837799)) |
|
14 |
||
15 |
assert(CW6a.collatz_max(2) == (2, 2)) |
|
16 |
||
17 |
assert(CW6a.collatz_max(77000) == (340, 52527)) |