Let $$P=(X+2)^m+(X+3)^{2m+3}$$ and $$Q=X^2+5X+7.$$ I need to show that $Q$ divides $P$ for any $m$ natural.
I said like this: let $a$ be a root of $X^2+5X+7=0$. Then $a^2+5a+7=0$.
Now, I know I need to show that $P(a)=0$, but I do not know if it is the right path since I have not found any way to do it.
Write $t=x+3$. Now we have to prove that $Q=t^2-t+1$ divides $P=(t-1)^m+t^{2m+3}$. Note that if $a$ is root for $Q$ then we have $a^3=-1$. Note that $a-1 = a^2$. Now plug $a$ in to $P$ and we get:
\begin{eqnarray} (a-1)^m +a^{2m}\cdot a^3 &=& (a-1)^m -a^{2m} \\ &=& (a^2)^m-a^{2m} \\ &=& a^{2m}-a^{2m} \\ &=&0 \end{eqnarray} So $a$ is also a root for $P$, and we can in the same manner deduce that the second root $b$ of $Q$ is also a root for $P$. Since $a\ne b$, it follows that $Q$ divides $P$.