Q. Total number of possible matrices of order with each entry or is

 1873  282 Matrices Report Error

Solution:

Required number of matrices