Let $p$ be a prime, and $(a_{ij})$ be a matrix such that $p$ divides $\sum_{j=1}^na_{ij}10^{n-j}$, for $j=1,\dots,n$. Prove that $p$ divides $\det(a_{i,j})$. If each $a_{ij}$ is only formed by a digit, this means that the numbers formed by the digits in each row are dividible by $p$.
Solution (show):
The divisibility condition means that the image of the vector $w=(10^{n-j})_{1\leq{}j\leq{}n}$ is $0$, when reduced modulo $p$. In the other hand, the vector $w$ is never zero when reduce modulo $p$, for each possible prime $p$. Consequently modulo $p$ the matrix has a non-trivial kernel, and its determinant must be zero.
Solution (show):
The divisibility condition means that the image of the vector $w=(10^{n-j})_{1\leq{}j\leq{}n}$ is $0$, when reduced modulo $p$. In the other hand, the vector $w$ is never zero when reduce modulo $p$, for each possible prime $p$. Consequently modulo $p$ the matrix has a non-trivial kernel, and its determinant must be zero.