I'm having some trouble solving the following exercice:
Let $a,b \in \mathbb Z$ and $p$ be a prime number. If $\gcd(a,p^2) = p$ and $\gcd(b,p^3)=p^2$ determine:
- $\gcd(ab,p^4)$
- $\gcd(a+b, p^4)$
I was able to determine the first one and got $\gcd(ab,p^4) = p^3$ (The part I'm having trouble with is the second one, but I would appreciate If someone could also confirm this first answer).
I'm not being able to determine the value of $\gcd(a+b, p^4)$. How can I do this?