Calculate the amount of words from the alphabet $(A,B)$ that contains seven $A$ and four $B$.

24 Views Asked by At

As in title I am struggling to solve this problem. I tried to think about the total amount of words with $11$ letters by taking $2^{11}$ minus the amount of words that does not contain $4 A$ and $7 B$, but if I can do that, I can just calculate directly $4 A$ and $7 B$. I am pretty much blind here, can anyone help me? Thanks.