Let p be a positive integer, p>1. Find the number of m×n matrices with entries in the set {1,2,…,p} and such that the sum of elements on each row and each column is not divisible by p. modular arithmeticalgebrapolynomiallinear algebramatrixcombinatorics proposedcombinatorics