Each character in a password is either a digit [0-9] or lowercase letter [a-z]. How many valid passwords are there with the given restriction(s)?

Length is 19. No character repeats. Must contain: z, 1, 0, and 9.

Ex: P(11, 4) * P(4, 3)

Write permutations as: P(n, k)

Respuesta :

Answer:

C(32,15) * P(19,19)

Step-by-step explanation:

digits given =0,1,2,3,4,5,6,7,8,9

letters from a to z =a,b,c...x,y,z

Total of both digits and letters 10+26 = 38

In the question, it's stated that  

Length is 19. No character repeats. Must contain: z, 1, 0, and 9.

Therefore, since all password must include z, 1, 0, and 9. (let's denote the four of them as Ф) ,these four notations must be included and the remaining 15 (i.e (19-Ф)) is selected from the whole 32 characters as C(32,15)

Also, 15 and Ф can be arranged as [tex]19P_1_9[/tex] =19! ways.

As such, the total permutations are;

C(32,15) * P(19,19)