The probability of drawing a red ball is

Since we are replacing each ball as it's drawn, this probability stays the same. So
follows a binomial distribution with
draws and success probability
, and so

This is a valid PMF, since by the binomial theorem,
