Since the matrix is upper triangular matrix number of elements in :
1st row = 30
2nd row = 29
.
.
.
24th row = 30 – (n-1) = 30 – 23 = 7
Since till 24th row we have to consider all the elements.
∴ Total #elements = 30 + 29 + 28 + … + 7 (which is in AP)
= $\frac{n}{2}(2*a + (n-1)*d = \frac{24}{2}(2*30 + (24-1)*-1)$
= $444$
Now since matrix is upper triangular matrix index (25, 25) will correspond to 1st element of the 25th row.
∴ Address of (25, 25) = 3000 + (number of elements)* size of each element
= 3000 + 444*2 = 3000+888 = 3888
Answer: 3888