A coin is tossed independently until the pattern HTHTH is first obtained (H and T denote head and tail respectively), where in each toss it gives a head with probability p. Find the mean and variance of the number of tosses.

Respuesta :