In a multiple choice assignment I had to find the gcd of
$$x^5+x+1$$
and
$$x^2+1$$
I can find it with the Euclidean algorithm, but that is taking me quite some time and work. Since this test was supposted to be solved very quickly there must be an easier method I guess. One of the multichoice answers was actually $1$ which is the correct solution. So I though maybe it's obvious that there is no gcd other than $1$ for this question? Is that so and if yes, why?
Let $d(x)$ be the greatest common divisor, so that $d(x)\mid x^2+1$ and $d(x)\mid x^5+x+1$.
Suppose $d(x)\ne 1$.
Then any root of $d$ is a root of $x^2+1$, so equals $\pm i$.
Any root of $d$ is a root of $x^5+x+1$. But $(\pm i)^5 +(\pm i)+1=\pm 2i+1\ne 1$.
Hence $d(x)=1$.
[All this can be done in your head in seconds].