- Show that if $d$ is the $\gcd$ of $a_1,a_2,\dots,a_n$. then $d=\sum t_ia_i$, where $t_i$ is in $\mathbb{Z}$, for all $i$ with $1\leq i\leq n$.
I thought in using induction, instead of generalizing the typical proof of using the Least Integer Axiom, but I can't see how to ge it.
- Show that $\gcd(a,b,c)$ is equal to $\gcd(a,\gcd(b,c))$.
Here I would like to ask if the proof is correct.
Set $f=\gcd(b,c)$, $d=\gcd(a,f)$. Therefore:
$$ d=s_1a+s_2f = s_1a+s_2(r_1b+r_2c)=s_1a+(s_2r_1)b+(s_2r_2)c, $$
On the other hand, if $d$ is $\gcd(a,b,c)$, then
$$ d=t_1a+t_2b+t_3b. $$
If we identify $t_2=s_2r_1$ and $t_3=s_2r_2$, then $d=gcd(a,b,c)=gcd(a,gcd(b,c))$.
EDIT: Another approach.
Suppose $d=gcd(a,b,c)$, then $d|a$, $d|b$, $d|c$. Now, the $gcd$ of $b$ and $c$ is, say $f$. Since $d=gcd(a,b,c)$, then $f|d$, and thus $d|gcd(b,c)$.
Conversely, if $d=gcd(a,gcd(b,c))$, then $d|a$ and $d|gcd(b,c)$, then $d|b$ and $d|c$. Therefore $d=gcd(a,b,c)$.