Today, the Central American and Caribbean Mathematical Olympiad was held in El Salvador.
Problem 6 was as follows:
Let $k$ be an integer greater than $1$. Initially, Tita the frog is sitting at the point k on the number line. In one movement, if Tita is located on the point $n$, then she jumps to the point $f(n)+g(n)$, where $f(n)$ and $g(n)$ are the greatest and the least prime divisors (both positive) of $n$, respectively. Determine all the values of $k$ for which Tita will visit infinitely many distinct points on the number line.
We shall show that no integer value $k$ takes on infinitely many values. We shall call all such numbers "escaping to infinity". Moreover, we denote the transition function $f(n)+g(n)$ as $t(n)$. A number $x$ is a successor of $y$ if there exist an integer $l$ such that $x = t^{(l)} (y)$.
The main idea utilised in the proof is that for any number that escapes to infinity, all successors of it will also escape to infinity.
It suffices to show no primes escape to infinity. This is as for any composite $k$, $t(k) \leq k$, hence it must have a prime successor.
Similarly, it suffices to show that no odd composites of the form $p+2$, where $p$ is prime, escapes to infinity. This follows as $t(t(p)) = p+2$ and the even prime 2 can be computed to not escape to infinity.
However, for a odd number of the form $p+2$ to escape to infinity, it must have a successor of the form $q+2$ where $q$ is an odd prime and $q > p$, but this isn't possible as we note $t(t(p+2)) = \frac{f(n)+g(n)}{2} + 2 \leq p+2$. So no such $q$ exist.