Following is extract from the proof that proves following: Let $a_1,\dots, a_n$, such that $a_{i_0} \neq 0$. Show that $\gcd(a_1,\dots, a_n)=\gcd(a_1,\dots, a_{n-2},\gcd(a_{n-1},a_n))$(hint! Show that left side and right side sets $A_1$ and $A_2$ of common factors are the same. So basically $A_1 \subset A_2$ and $A_2 \subset A_1$.
If $k \in A_2$, then $k \mid a_i$ $\forall i=1, \dots, n-2$ and $k \mid \gcd(a_{n-1}, a_n)$. Secondly $\gcd(a_{n-1}, a_n) \mid a_{n-1}$ and $\gcd(a_{n-1}, a_n) \mid a_n$ so by transitivity $k\mid a_{n-1}$ and $k \mid a_n$. Therefore $k \in A_1$ in other words $A_2 \subset A_1$? How is following possible: $\gcd(a_{n-1}, a_n) \mid a_{n-1}$ and $\gcd(a_{n-1}, a_n) \mid a_n$? Would someone unravel the reasons that one can claim following to be true?