So, I'm working out one of my assignments and I'm a little bit stuck on this problem:
A fish store is having a sale on guppies, tiger barbs, neons, swordtails, angelfish, and siamese fighting fish (6 kinds). How many ways are there to choose 24 fish with at least 1 guppy, at least 2 tiger barbs, at least 3 neons, exactly 1 swordtail, at least two angelfish, and no more than 3 siamese fighting fish?
I feel like the way to approach this problem is to use r-combinations with repetition (because the fish store isn't running out of any of the fish) and subtract the combinations that I don't want. Here's what I've got so far:
We need at least 1 guppy, 2 tiger barbs, 3 neons, and 2 angelfish. If we set those aside (all 8 of those), we're down to $24-8$, or 16 remaining fish to choose. Add the 1 swordtail, and we only need to choose $24-9$ or 15 fish out of 5 ($(6-1)$ because there were 6 kinds, but we can only have 1 of the swordtail).
All this accounted for, utilizing r-combination with repetition, $\binom{n+r-1}{r}$: $$\binom{15+5-1}{15}=3,876$$
BUT I can't have more than 3 siamese fighting fish! How do I subtract all the groups with more than 3 siamese fighting fish?
Any help would be much appreciated! Also, if I've made any other errors, please point those out and I'll edit the question appropriately. We covered it in class, but it went so quick I didn't get it down in my notes. Thanks!