If $f\in \mathbb{Z[x]}$ is a polynomial and $f(2^n)$ is a perfect square for all $n$, then there is a $g\in \mathbb{Z[x]}$ such that $f=g^2$
I understand that there might be an issue with the problem statement but I don't know anything further.
Here's a link that might help (related problem).
EDIT : I see the exact problem posted in AoPS long time ago. I couldn't understand the solution posted there.
I'm quoting user Math154's solution :
Multiplying by the square of $f$'s denominator if necessary, WLOG $f\in\mathbb{Z}[x]$ and $t_n=\sqrt{f(2^n)}\in\mathbb{Z}^+$ for all $n\ge1$.
First suppose that $d=\deg f$ is even, so $f(x)=cg(x)^2+h(x)$ for polynomials $g,h\in\mathbb{Q}[x]$ with $\deg{g}=d/2$ and $\deg{h}<d/2$ and a positive integer $c$ (it clearly can't be negative). Then $$t_n=\sqrt{f(2^n)}=\sqrt{cg(2^n)^2+h(2^n)}=\sqrt{c}g(2^n)+O(2^{-n})$$. Yet $g(2^n)=\sum_{k=0}^{d/2}c_k (2^k)^n$ is a rational power sum in $2^0,\ldots,2^{d/2}$, so because $(x-2^0)\cdots(x-2^{d/2})\in\mathbb{Z}[x]$ has coefficients independent of $n$, $\{t_n\}$ satisfies a linear recurrence of order $1+d/2$ with integer coefficients up to an error of $o(1)$. But $t_n\in\mathbb{Z}\forall{n\ge1}$, so for sufficiently large $n\ge N$, $\{t_n\}$ satisfies the linear recurrence exactly, i.e. there exists a polynomial $p(x)$ such that $t_n=p(2^n)$ for all $n\ge N$ and thus $f(x)=p(x)^2$ for all $x$. But $g$ is unique up to sign, so $p(x)^2=cq(x)^2$ and considering $x=2^n$ for sufficiently large $n$, $c$ must be a square, i.e. $p(x)\in\mathbb{Q}[x]$ as desired.
Now if $\deg f$ is odd, then by the previous case there exist polynomials $g_1,g_2\in\mathbb{Q}[x]$ such that $f(x^2)=g_1(x)^2$ and $f(2x^2)=g_2(x)^2$, so $g_1(x\sqrt{2})=\pm g_2(x)$, which contradicts rationality by equating coefficients.
Can I get a clear understanding of the solution? I don't think I get it well enough, at least from the $(x-2^0)(x-2^1)\cdots \in \mathbb{Z}[x]$ and the linear recurrence part. Also, at the initial stage, the user claims that $t_n=\sqrt{f(2^n)}=\sqrt{cg(2^n)^2+h(2^n)}=\sqrt{c}g(2^n)+O(2^{-n})$. How is it $O(2^{-n})$? Isn't it supposed to be $O\left(2^{\frac{n(d-2)}{4}}\right)$?