Hello I have to determine the gcd of $n^3+3n^2-5 $ and $ n+2$, but I can’t do it because I know we have to eliminate the $n$. I tried to eliminate $n^3 $ but I’m stuck for the rest.
2026-04-08 11:03:40.1775646220
determine the gcd of $n^3+3n^2-5 $ and $ n+2$
121 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
3
$$n^3 + 3n^2 - 5 - n^2 (n+2) = n^2 - 5$$ and $$n^2 - 5 - n(n+2) = -2n-5$$ Why did I do this? $\gcd(f(x),g(x)) = \gcd(f(x) - \lambda g(x), g(x))$ where $\lambda$ is an integer. So, keeping the above two equations in mind we have $$\gcd(n^3 + 3n^2 - 5, n+2) = \gcd(-2n-5, n+2) = 1$$ i.e. the two are co-prime (the greatest common divisor is $1$).