Combinatoricsmedium
0:00.0
A computer science student is generating passwords of length 5 using only the digits {1, 2, 3, 4, 5}. How many such passwords can be generated if repetition is permitted, but the sequence must contain at least one '3'?
A computer science student is generating passwords of length 5 using only the digits {1, 2, 3, 4, 5}. How many such passwords can be generated if repetition is permitted, but the sequence must contain at least one '3'?