Given $a_1,a_2,\dots,a_n \in \mathbb{Z}$ with $\gcd(a_1,a_2,\dots,a_n)=1$, is it possible to find $M \in GL_n(\mathbb{Z})$ with first row $(a_1,a_2,\dots,a_n)$?
Clearly for $n=2$ the result is true. For $a,b \in \mathbb{Z}$ with $\gcd(a,b)=1$, there exists $x,y \in \mathbb{Z}$ such that $ax+by=1$. Then the required matrix is $ M= \left[ {\begin{array}{cc} a & b \\ -y & x \\ \end{array} } \right] $. But I am not being able to extend it to general case. Even the converse of this result is true. For $M \in GL_n(\mathbb{Z})$ we can prove that every row and column has gcd 1.