I want to show that for $\gcd(a,b) = 1$ $a,b \in Z$ $\gcd(a+b, a-b) = 1$ or $\gcd(a+b, a-b) = 2$ holds.
I think the first step should look something like this:
$d = \gcd(a+b, a-b) = \gcd(2a, a-b)$
From here I tried to proceed with two cases.
1: $a-b$ is even, which leads to $\gcd(a+b, a-b) = 2$
2: $a-b$ is odd, which leads to $\gcd(a+b, a-b) = 1$
My main problem I think is, that I do not know how I should include $\gcd(a,b) = 1$ in the proof.
Any help is appreciated. Thx in advance.
Cherio Woltan
Let $d$ be a common divisor of $a+b$ and $a-b$, then $d$ divides their sum $2a$ and difference $2b$. If a number divides two numbers it also divides their gcd, thus $d$ divides $2\gcd(a,b) = 2$. That implies that every divisor (including the greatest common divisor) is a divisor of $2$.
The same argument again in symbols:
Let $d \mid a+b, a-b$, then $d \mid (a+b)+(a-b) = 2a$ and $d \mid (a+b)-(a-b) = 2b$ so $d \mid \gcd(2a,2b) = 2$.