This question originates from Pinter's Abstract Algebra, Chapter 22 Exercise E1.
Let $a$ and $b$ be integers. Suppose $a$ is odd and $b$ is even. Prove that $\operatorname{gcd}(a,b) = \operatorname{gcd}(a+b, a-b)$.
Attempt:
Let $d=\operatorname{gcd}(a,b)$ and $d' = \operatorname{gcd}(a+b,a-b)$.
- Given $a$ is odd and $b$ is even, $d, a+b, a-b$ and $d'$ must all be odd, for the sum or difference of an odd and even number is an odd number, and the common factor of an odd and even number is an odd number.
- By Theorem 3 in Chapter 22, $d=\operatorname{gcd}(a,b)$ iff $ax+by=d$ for some integers $x$ and $y$. This implies $ax$ is odd, which implies $x$ is odd, for otherwise $d$ would be even contradicting (1).
- $d' = \operatorname{gcd}(a+b,a-b)$ iff \begin{align*} (a+b)x' + (a-b)y' &= d' & \text{for some }x',y'\in\mathbb{Z} \\ a(x'+y') + b(x'-y') &= d' \\ \implies &d = d' \end{align*} for there exists a unique non-negative generator in the principal ideal of all the linear combinations of $a$ and $b$ (by the proof of Theorem 3 in Chapter 22). In particular, observe that \begin{align*} x &= x' + y' \\ y &= x' - y' \\ x - y &= 2y' \end{align*} $x$ is odd by (2) so $y$ must be odd, for otherwise $x-y$ would not be divisible by 2.
Does this look reasonable?