Suppose the digits cannot repeat. Find the number of possible two-digit codes and three-digit codes. Describe any pattern and use it to predict the number of possible five-digit codes.
There are possible two-digit codes, possible three-digit codes, and therefore there are possible five-digit codes. One pattern which could be used is multiplying together the number of for each place in the code.
Part 2
Repeat part 1, but allow digits to repeat.
There are possible two-digit codes, possible three-digit codes, and therefore there are possible five-digit codes.
Part 3
Suppose that a gym plans to issue numbered locker codes by choosing the digits at random. Should the gym use codes in which the digits can repeat or not? Complete the justification.
The gym should use numbers that . There are unique codes with repeated digits than without, so it is to guess the code for a locker.