Show that there exists infinitely many $n$ such that $u_n$ is not a perfect square

47 Views Asked by At

Let $a, b, c$ be positive integers. Define the sequence $u_n$: $$u_n = a \cdot 2^n + b \cdot 5^n + c$$ Show that there exists infinitely many $n$ such that $u_n$ is not a perfect square.

Source: Local exam for specialized students.