I want to prove above statement
"what is ${\rm gcd} (a+b , a^2+b^2)$ when ${\rm gcd}(a,b) = 1$"
I've seen some proofs of it, but i couldn't find useful one.
here is one of the proof of it.
I want prove it using method like 2nd answer. (user 9413)
but i can't understand why "if $d | 2ab$ then $d = 1$ or $2$ or $d | a$ or $d|b$"
(isn't Euclid's lemma which only holds when $d$ is prime ?)
please show me proof step by step