An M / M / 1 queue with feedback has the following defining property: When a customer finishes service, departure occurs with probability p; with probability I - p, the customer rejoins the end of the queue.
(i) Find the equilibrium probabilities for the number in the system.
(ii) Find the probability that a customer is served x times.
(iii) Find the expected total time a customer spends in the system.