For positive integers $a_{1}, a_{2}\cdots, a_{k},$ define $\gcd(a_{1}, a_{2}\cdots, a_{k})$ to be the largest positive integer $d$ such that $d$ divides every $a_{i}$ and any positive integer $c$ that divides every $a_{i}$ also has to divide $d.$ Is it true that there are integers $m_{i},$ not necessarily positive, such that $d= \sum_{i= 1}^{k}m_{i}a_{i},$ right ?
How can i prove this ? I was thinking maybe one could use mathematical induction but i'm not quite sure.