In how many ways can the digits in the number 9,164,461 be arranged?
The number is a seven digit number, so we're dealing with seven digits.
If we were working with the number 1, 234, 567, we'd have
But in the number that we have, there are two 1s, two 6s, and two 4s. Each of those groups have internal ordering - for instance, these two numbers are identical:
even though I've swapped the two 4s around:
And so we need to divide by the number of ways we can order these groups of numbers. The number of ways we can order the 1s is 2!, and the same with the 4s and the 6s, and so we get: