Throughout this subsection II.B, we fix two natural integers $m$ and $n$. The Chebyshev polynomials of the second kind $U_n$ have roots $\cos\left(\frac{k\pi}{n+2}\right)$ for $k = 1, \ldots, n+1$.
Let $h$ be the $\gcd$ in $\mathbb{N}$ of $m+1$ and $n+1$. By examining the common roots of $U_n$ and $U_m$, show that $U_{h-1}$ is a $\gcd$ in $\mathbb{R}[X]$ of $U_n$ and $U_m$.