For an outcome , the two random variables are the coordinate maps
Their marginal probability mass functions are on , and their joint probability mass function satisfies
Off that support, the same factorization holds with zeros. Hence and are independent random variables, by the joint probability mass function criterion for independence.
Summing over the last digit yields the marginal probability mass function
Together with the other marginal probability mass function, this gives
The factorization holds on the whole support and with zeros elsewhere, proving that and are independent. The conditional distribution in ii likewise does not depend on the permissible value .
Summing the joint probability mass function over with the geometric series gives the marginal probability mass function
Divide the joint probability mass function by this positive marginal probability mass function to obtain the conditional distribution:
It is the geometric distribution counting failures before the first success, with success probability . For the other nonnegative integers , ; the elementary conditional probability given is undefined and supplies no additional case.