def solve014(limit): iterations = NumberTheory.collatz_iterations_under(limit) return General.key_with_max_value(iterations)