I believe I was correct. I wrote down all the possibilities. This is a well known formula for getting r successes in N independent trials with probability of success p.

See https://www3.nd.edu/~rwilliam/stats1/x13.pdf


The difference between genius and stupidity is that genius has its
limits.- Albert Einstein