This problem is really bothering me for some time, I appreciate if you have some idea and insight.
Prove that
$$2^{2^n}+5^{2^n}+7^{2^n}$$
is divisible by $39$ for all natural numbers $n$.
There was a suggestion that this should be done by mathematical induction, however, with a twist, but I could not see what the twist is.
You first find $2^2$, $5^2$ and $7^2$, $\mod 39$, to be $4$, $25$ and $10$ respectively. These add to $39$.
Their squares are $16$, $1$, and $22$, which also add to $39$. This is power $2^2$.
The squares of these are $22$, $1$, $16$, which is the same as before, Thus if it is true for $2^n$, it's true for $2^{n + 1}$.
therefore $2^a + 5^a + 7^a$ is a multiple of $39$ if $a = 2^n$ (it's actually a multiple if $a \mod 12 = 4, 8$.)