7,566 views
0 votes
0 votes

A bagel shop has onion bagels, poppy seed bagels, egg bagels, salty bagels, pumpernickel bagels, sesame seed bagels, raisin bagels, and plain bagels. How many ways are there to choose

  1.  six bagels?
  2.  a dozen bagels?
  3.  two dozen bagels?
  4.  a dozen bagels with at least one of each kind?
  5.  a dozen bagels with at least three egg bagels and no more than two salty bagels?

1 Answer

2 votes
2 votes

A).

There are 8 kinds of bagels (n = 8), and we have to choose 6 bagels (r = 6). In this problem, order doesn’t matter (combination) and repeats are okay (we assume that the shop won’t run out of any kind of bagels). Therefore, there are C(n + r − 1, r) = C(8 + 6 − 1, 6) = C(13, 6) = 13!/(7! × 6!) = 1716 ways to choose.

B).

There are 8 kinds of bagels (n = 8), and we have to choose 12 bagels (r = 12). In this problem, order doesn’t matter (combination) and repeats are okay (we assume that the shop won’t run out of any kind of bagels). Therefore, there are C(n + r − 1, r) = C(8 + 12 − 1, 12) = C(19, 12) = 19!/(12! × 7!) = 50, 388 ways to choose.

C).

There are 8 kinds of bagels (n = 8), and we have to choose 24 bagels (r = 24). In this problem, order doesn’t matter (combination) and repeats are okay (we assume that the shop won’t run out of any kind of bagels). Therefore, there are C(n + r − 1, r) = C(8 + 24− 1, 24) = C(31, 24) = 31!/(24! × 7!) = 2629575 ways to choose.

D).

There are 8 kinds of bagels (n = 8), and we have to choose 4 bagels (r = 4) (from 12 we selected 8 from each kind of bagels remaining  left is 12-8=4). In this problem, order doesn’t matter (combination) and repeats are okay (we assume that the shop won’t run out of any kind of bagels). Therefore, there are C(n + r − 1, r) = C(8 + 4 − 1, 4) = C(11, 4) = 11!/(4! × 7!) = 330 ways to choose.

E).

There are 8 kinds of bagels (n = 8), and we have to choose 9 bagels (r = 4) (12 − 3 preselected egg bagles). In this problem, order doesn’t matter (combination) and repeats are okay (we assume that the shop won’t run out of any kind of bagels). We have allocated three choices to the egg bagel, but we have to figure out how to choose the salty bagels. We will add the number of ways to choose when we take exactly zero, one,​​​​and two salty bagels

No salty bagels:

n = 7 (7 kinds of bagels excluding the salty bagel), r = 9 (12 − 3 egg bagels). Therefore, there are C(n+r−1, r) = C(7+9−1, 9) = C(15, 9) = 15!/(9!×6!) = 455 ways to choose.

One salty bagel:

n = 7 (7 kinds of bagels excluding the salty bagel), r = 8 (12−3 egg bagels −1 salty bagel). Therefore, there are C(n + r − 1, r) = C(7 + 8 − 1, 8) = C(14, 8) = 14!/(8! × 6!) = 3, 003 ways to choose.

Two salty bagels:

n = 7 (7 kinds of bagels excluding the salty bagel), r = 7 (12−3 egg bagels −2 salty bagels). Therefore, there are C(n + r − 1, r) = C(7 + 7 − 1, 7) = C(13, 7) = 13!/(7! × 6!) = 1, 716 ways to choose.

So, the answer to this problem is: C(15, 9) + C(14, 8) + C(13, 7) = 455 + 3, 003 + 1, 716 = 5, 174 ways.

 

Related questions

1 votes
1 votes
2 answers
1
admin asked Apr 30, 2020
1,617 views
How many ways are there to distribute $15$ distinguishable objects into five distinguishable boxes so that the boxes have one, two, three, four, and five objects in them,...
0 votes
0 votes
1 answer
2
admin asked Apr 30, 2020
856 views
How many ways are there to distribute $12$ distinguishable objects into six distinguishable boxes so that two objects are placed in each box?
0 votes
0 votes
1 answer
3
admin asked Apr 30, 2020
692 views
How many ways are there to distribute $12$ indistinguishable balls into six distinguishable bins?
0 votes
0 votes
1 answer
4
admin asked Apr 30, 2020
2,811 views
How many ways are there to distribute six indistinguishable balls into nine distinguishable bins?