changeset 158 | 94b11ac19b41 |
child 210 | 63a1376cbebd |
157:15f1fca879c5 | 158:94b11ac19b41 |
---|---|
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)) |