Question: A computer system has n users, each with a unique name and password. Due to a software error, the n passwords are randomly permuted internally

A computer system has n users, each with a unique name and password.
Due to a software error, the n passwords are randomly permuted internally (i.e., each of
the n! possible permutations is equally likely). Only those users lucky enough to have
had their passwords unchanged in the permutation are able to continue using the system.
(a) What is the probability that a particular user, say user 1, is able to continue using
the system?
(b) What is the expected number of users able to continue using the system? Hint:
Let Xi be a rv with the value 1 if user i can use the system and 0 otherwise.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!