Question
A is a square matrix of order n.
ℓ= maximum number of distinct entries if A is a triangular matrix
m= maximum number of distinct entries if A is a diagonal matrix
p= minimum number of zeroes if A is a triangular matrix
If ℓ+5=p+2m, find the order of the matrix.