changeset 144 | 716042628398 |
parent 127 | b4def82f3f9f |
child 199 | 54befaf23648 |
143:11396c17cd8b | 144:716042628398 |
---|---|
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)) |