To find the number of distinct ways to arrange the letters in the word MINING, we need to account for the repeated letters.
The formula for permutations with repetitions is:
$ \frac{n!}{n_1! n_2! ... n_k!} $Where:
In this case, $n = 6$. The frequencies of the repeated letters are 2 for 'I' and 2 for 'N'.
Number of arrangements = $ \frac{6!}{2! \times 2!} $
Therefore, there are 180 distinct ways to arrange the letters in the word MINING.
In how many ways can cells in a $3 \times 3$ grid be shaded, such that each row and each column have exactly one shaded cell? An example of one valid shading is shown.

A coin with heads facing up is shown as
and a coin with tails facing up is shown as
.
Six coins are placed in the Starting Arrangement, as shown in the figure below. A “step” is defined as interchanging a pair of adjacent coins without flipping them. The minimum number of steps needed to go from the Starting Arrangement to the Final Arrangement, as shown in the figure, is ________.
