Problem

Source: Spring Stars of Mathematics 2021 P2 (senior level)

Tags: polynomial, algebra, pell equation, romania



Let $n$ be a positive integer. Show that there exists a polynomial $f$ of degree $n$ with integral coefficients such that $f^2=(x^2-1)g^2+1$, where $g$ is a polynomial with integral coefficients. * * *