Show worked solution
Worked solution
Count all possible PINs
digits, , repeats allowed.
Work it out
So there are PINs in total.
'At least one repeat' is hard directly
It is easier to count PINs with NO repeat, then subtract.
'No repeat' means all different
Count PINs where every digit is different.
First digit
Any of digits.
Second digit
remain.
Third digit
remain.
Fourth digit
remain.
Count all-different PINs
Multiply the choices.
Work it out
So there are PINs with no repeat.
Use the subtraction principle
At least one repeat = total minus no-repeat.
Subtract
Take the no-repeat count away.
Work it out
So there are PINs with at least one repeat.
Why subtract
Counting the no-repeat PINs is far easier than counting the repeats directly.
State the answer
So there are PINs with at least one repeated digit.