I tried to look for a similar question but didn't find the exact thing (the closest I found was this but AFAIK it is not the same)
I have $r$ coins that land heads w.p. $p$. I want at least $m$ heads. On the first step I toss all of $r$ coins and from the second step and on I toss only the coins that didn't land heads already.
What is the expected number of steps until I have at least $m$ heads?
Thank you in advance!