4+5+6+7 = 22
So, there would be
but why is the denominator 4!5!6!
If all the cookies were different, you'd have just 22! different ways. But, if you just consider the 4 chocolate chip cookies, they are indistinguishable from each other. If they were different, then there would be 4! different ways to eat the chocolate chip cookies. But you don't care which of them you are eating, so you divide by the 4! ways which are the same.
Consider the case of 4 cookies, 3 of which are A, and also a single B. If you write down all the ways to eat them, numbering the A's, you get
A1 A2 A3 B
A1 A2 B A3
A1 A3 A2 B
A1 A3 B A2
A1 B A2 A3
A1 B A3 A2
A2 A1 A3 B
A2 A1 B A3
A2 A3 A1 B
A2 A3 B A1
A2 B A1 A3
A2 B A3 A1
A3 A1 A2 B
A3 A1 B A2
A3 A2 A1 B
A3 A2 B A1
A3 B A1 A2
A3 B A2 A1
B A1 A2 A3
B A1 A3 A2
B A2 A1 A3
B A2 A3 A1
B A3 A1 A2
B A3 A2 A1
As you can see, there are 4! = 24 ways to eat the cookies. But, if all the A1 A2 A3 are replaced by just A, we have only
A A A B
A A B A
A B A A
B A A A
which is 4!/3! = 4
Expand that to your problem, and you see why we divide by n! if there are n identical objects.
but wat happened to the 7 shouldnt it be 4!5!6!7!
There are 7 assorted other cookies. Thus, they are different, and can be eaten in distinguishable orders.
math - the cookie monster has a package of cookies with him consisting of 4 ...
math - Meka plans to bake a large circular cookie for her brother. She wants to ...
Math - A delivery service charges a base price for an overnight delivery of a ...
Math - Henry is a quality control inspector. He is watching the production line ...
Math - A cookie sheet measures 13 x 9 inches. If each cookie has a diameter of 3...
chemistry - The nutritional label on the package indicates that a cookie ...
Math 7 - NYS Math Exam Review Help! (Q2) - 9. Eric's mother wants to help him ...
Accounting - purchases account is classified as: a. an expense account b. an ...
physics - a 2.0 kg crate is incline at 60degrees and is held in equilibrium by a...
math 121 - Henry will reject a cookie with less than 8 raisins.In the past, one ...