Problem #4
Define a function f mapping positive integers to positive integers by
f (1) = 1, and
for n≥2.
- Find the smallest integer n such that f(n) = 1,000,000.
- Find the smallest integer n such that f(n) = 2,000,000.
Source: An adaptation of a problem proposed for the
International Mathematical Olympiad.