Question: Security combination lock has 8 touch pads. Each lock is 3 digit code.
How many different codes are possible if the order is unimportant, and the digits can be repeated?
The answer here has 8 x 8 x 8.
But I think this is wrong, as this orders security code. I.e. its counting repeats.
For example, it would have counted 8 8 7 as different to 7 8 8 which will still work.
Am I flawed in my reasoning? If not how do i remove the ordering.