Basic multiplication table/Last digit/Vector space dimension/Exercise

We consider the last digit in the basic multiplication table as a family of -tuples of length , that is, the row vectors in the matrix

What is the dimension of the linear subspace in generated by these tuples?