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
You are correct in what you don't understand about the linked-to answer (by user 9413). It would have been better in that answer to let $d$ be a prime power dividing $\gcd(a+b,a^2+b^2)$ and conclude that $d$ could only be $1$ or $2$.