Show that the product of the $2^{2019}$ numbers of the form $\pm 1\pm \sqrt{2}\pm\cdots \pm \sqrt{2019}$ is the square of an integer. I'm aware very similar problems were asked before (e.g. here and here), but I'm not sure how to justify the answers provided on the two linked pages.
In particular, I'm not sure how to show that if $P$ is a polynomial with integer coefficients, then so is $P(x+\sqrt{n})P(x-\sqrt{n})$ for any positive integer n, which seems to be one of the claims in one of the posted answers.
If $P(x)$ is an even polynomial, then so is $Q(x) := P(x+\sqrt{k})P(x-\sqrt{k}).$ Indeed, $P(x)=P(-x)$ for all x, so $Q(-x) =P(-x+\sqrt{k}) P(-x-\sqrt{k}) = P(x-\sqrt{k})P(x+\sqrt{k}) = Q(x).$ Also note that if $P(x)$ is even, then since $P(x)-P(-x)$ is identically zero, only the coefficients of even degree terms in P may be nonzero.
Inductively, define $P_1(x) := x+1, P_n(x) := P_{n-1}(x+\sqrt{n}) P_{n-1}(x-\sqrt{n})$ for $n\ge 2.$ We will prove by induction that $P_n(x)$ has integer coefficients, $P_n(x)$ has degree $2^n,$ and that $P_n(x)$ is even for every positive integer n. In particular, the constant term of $P_n(x)$ is even. Assume the result holds for all $1\leq k < n,$ some $n\ge 2.$ Since $P_n(x) = P_{n-1}(x+\sqrt{n}) P_{n-1}(x-\sqrt{n})$ and $P_{n-1}(x\pm \sqrt{n})$ (where we choose either plus or minus) has degree $2^{n-1}$ by the inductive hypothesis, $P_n(x)$ has degree $2^n.$ Then writing $P_{n-1}(x) = \sum_{i=0}^{2^{n-1}} a_i x^i,$ we have that for $0\leq k\leq 2^n,$ the coefficient of $x^k$ in $P_n(x) $ is given by $\sum_{i=0}^{2^n}[x^i] P_{n-1}(x+\sqrt{n}) [x^{k-i}] P_{n-1}(x-\sqrt{n}) = \sum_{i=0}^{2^n} (\sum_{j=i}^{2^{n-1}} {j\choose i} (\sqrt{n})^{j-i}) (\sum_{j=k-i}^{2^{n-1}} {j\choose k-i} (-\sqrt{n})^{j-(k-i)})$. The latter expression seems too difficult to work with.