This is a question from Zybooks Exercise 5.7.2: Counting $5$-card hands from a deck of standard playing cards. I just can't wrap my head around the answer. If there is anyone that can explain this in English, that would be greatly appreciated.
How many $5$-card hands have at least two cards with the same rank? Apparently the answer to this is $\binom{52}{5} - \binom{13}{5}4^5$.
I see that we are using the complement rule here. I get $\binom{52}{5}$ denotes all the $5$-card hands in a $52$-card deck, but I don't see why we are subtracting $\binom{13}{5}4^5$.