Let's say we have a matrix (grid) of 4x4 that has values from 0 to 15 in it.
0 1 2 3
a = 4 5 6 7
8 9 10 11
12 13 14 15
If this array is randomized or shuffled how many unique combination can it make?
For example:
By unique I mean let's say 10 in the matrix a above is at 3x3 and in an attempt of a shuffle of the whole matrix, only 10 position shuffled with let's say 15 (10 is at the place 15 is and vice versa) so the new position fo 10 is now 4x4 and the matrix will look like this:
0 1 2 3
b = 4 5 6 7
8 9 15 11
12 13 14 10
Now, b is a unique combination of a 4x4 matrix a. So, like that how many unique combinations can array a can have?
I'd say $16!=16\times15\times\cdots\times2\times1$.