Would part A just be C(12,7)? Where 12 is how many croissants you can choose from and 7 is how many types of croissants there are to choose from?


Wouldn't it be C(12,6) with repetition since there's 6 different type of croissants and after you choose one you can choose it again if you want to.


Yeah nevermind, I mean't C(12,6).


For part C, how could you compensate for counting "at least 2 of each croissant"?


For part C and the following problems, I had a+b+c+d+e+f=24 and we know that a>=2 so then we have a'=a-2... So with the following we have (a'+2)+(b'+2)+(c'+2)...+(f'+2)=24. So then subtracting all of the 2s, we have a'+b'+c'+d'+e'+f'=12. So then we have C(12+6-1,6)= C(17,6)=12,376


Isn't this entire problem about the bars and stars? You have 6 types, 12 to choose. Use 5 bars and 12 stars: |***|***|**|**|** for A. So, the answer is (12 + 6 - 1) choose 5. And for C, you basically just select 2*6 from the stacks first. This leaves you with 12 more to select. So the answer to C is the answer to A.


I thought it was about the croissants! Am I in the wrong section?

Alumni Liaison

ECE462 Survivor

Seraj Dosenbach