Problem

Source: 2020 Caucasus Mathematical Olympiad

Tags: number theory, algebra, Sequence



Let $a_n$ be a sequence given by $a_1 = 18$, and $a_n = a_{n-1}^2+6a_{n-1}$, for $n>1$. Prove that this sequence contains no perfect powers.