I have a question: Let $n\in\mathbb{Z}$, then $(a+bn,b)=(a,b)$, $(a,b)$ being the greatest common divisor.
Is this a correct approach?
Let $e=(a+bn,b), \quad n\in\mathbb{Z}$, then $e$ is expressible as the smallest linear combination of $an+b$ and $b$ so there exists $u,v\in\mathbb{Z}$ such that $$ e=u(a+bn)+vb $$ and $e$ is the smallest positive such number. Rearranging on the right hand side we get $$ e=ua+(un+v)b $$ which gives a linear combination of $a$ and $b$. Since $e$ is still the smallest such we get that $(a,b)=e$. If this is correct is there a more elegant solution?