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

 1796  230 Matrices Report Error

Solution:

Required number of matrices