Last visit was: 08 Aug 2026, 15:32 It is currently 08 Aug 2026, 15:32
Close
GMAT Club Daily Prep
Thank you for using the timer - this advanced tool can estimate your performance and suggest more practice questions. We have subscribed you to Daily Prep Questions via email.

Customized
for You

we will pick new questions that match your level based on your Timer History

Track
Your Progress

every week, we’ll send you an estimated GMAT score based on your performance

Practice
Pays

we will pick new questions that match your level based on your Timer History
Not interested in getting valuable practice questions and articles delivered to your email? No problem, unsubscribe here.
Close
Request Expert Reply
Confirm Cancel
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 08 Aug 2026
Posts: 112,619
Own Kudos:
Given Kudos: 110,722
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 112,619
Kudos: 832,951
 [42]
1
Kudos
Add Kudos
41
Bookmarks
Bookmark this Post
Most Helpful Reply
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 08 Aug 2026
Posts: 112,619
Own Kudos:
832,951
 [4]
Given Kudos: 110,722
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 112,619
Kudos: 832,951
 [4]
2
Kudos
Add Kudos
2
Bookmarks
Bookmark this Post
General Discussion
User avatar
chetan2u
User avatar
GMAT Expert
Joined: 02 Aug 2009
Last visit: 08 Aug 2026
Posts: 11,267
Own Kudos:
45,844
 [2]
Given Kudos: 338
Status:Math and DI Expert
Location: India
Concentration: Human Resources, General Management
GMAT Focus 1: 735 Q90 V89 DI81
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
GMAT Focus 1: 735 Q90 V89 DI81
Posts: 11,267
Kudos: 45,844
 [2]
Kudos
Add Kudos
2
Bookmarks
Bookmark this Post
User avatar
Archit3110
User avatar
Major Poster
Joined: 18 Aug 2017
Last visit: 07 Aug 2026
Posts: 8,789
Own Kudos:
5,305
 [3]
Given Kudos: 243
Status:You learn more from failure than from success.
Location: India
Concentration: Sustainability, Marketing
GMAT Focus 1: 545 Q79 V79 DI73
GMAT Focus 2: 645 Q83 V82 DI81
GPA: 4
WE:Marketing (Energy)
GMAT Focus 2: 645 Q83 V82 DI81
Posts: 8,789
Kudos: 5,305
 [3]
1
Kudos
Add Kudos
2
Bookmarks
Bookmark this Post
Bunuel
A shop sells 5 different types of sweets. In how many different ways a total of 8 sweets can be purchased?

(A) 125
(B) 495
(C) 795
(D) 840
(E) 930


total possible ways
n+r-1 cr-1

8+5-1 c 5-1
12c4 = 495
option B
User avatar
udaypratapsingh99
Joined: 12 Jan 2019
Last visit: 17 May 2026
Posts: 393
Own Kudos:
Given Kudos: 372
Location: India
Concentration: Strategy, Leadership
GMAT 1: 660 Q47 V34
Products:
GMAT 1: 660 Q47 V34
Posts: 393
Kudos: 248
Kudos
Add Kudos
Bookmarks
Bookmark this Post
chetan2u
Bunuel
A shop sells 5 different types of sweets. In how many different ways a total of 8 sweets can be purchased?

(A) 125
(B) 495
(C) 795
(D) 840
(E) 930


Quickest way : Use partition method and the formula involved.
The equation can be written as \(a+b+c+d+e=8\), and we have find non negative solutions for the same
If there are 4 partitions, the answer would be (8+4)C4=\(\frac{12!}{8!/4!}=\frac{12*11*10*9}{4*3*2}=495\)

You can also calculate each type


B


You distributed 8 boxes of sweets among 5 sweets. That's a great approach.
User avatar
Alec0
Joined: 23 Jun 2023
Last visit: 21 Feb 2026
Posts: 9
Own Kudos:
2
 [1]
Given Kudos: 167
Location: United States (CA)
GMAT Focus 1: 595 Q79 V83 DI79
GPA: 2.8
GMAT Focus 1: 595 Q79 V83 DI79
Posts: 9
Kudos: 2
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Bunuel could you please help us understand this one?
User avatar
Alec0
Joined: 23 Jun 2023
Last visit: 21 Feb 2026
Posts: 9
Own Kudos:
Given Kudos: 167
Location: United States (CA)
GMAT Focus 1: 595 Q79 V83 DI79
GPA: 2.8
GMAT Focus 1: 595 Q79 V83 DI79
Posts: 9
Kudos: 2
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Unbelievable. Thanks so much for providing a solution and for the links to extra practice. I haven't encountered the Stars and Bars method in my studies so far, so I'll add this one to my toolkit.
Bunuel
Alec0
Bunuel could you please help us understand this one?

A shop sells 5 different types of sweets. In how many different ways a total of 8 sweets can be purchased?

(A) 125
(B) 495
(C) 795
(D) 840
(E) 930

We have 5 different types of sweets: a, b, c, d, and e.

"Stars and Bars" method:

Imagine 8 stars in a row. To divide these stars among 5 types of sweets, we need 4 bars to create 5 separate sections. For example:


***|**|*|*|* represents purchasing 3 of sweet a, 2 of sweet b, 1 of sweet c, 1 of sweet d, and 1 of sweet e.

||****|**|** represents purchasing 0 of sweet a, 0 of sweet b, 4 of sweet c, 2 of sweet d, and 2 of sweet e.

|||*******| represents purchasing 0 of sweet a, 0 of sweet b, 0 of sweet c, 8 of sweet d, and 0 of sweet e.

Thus, the problem becomes arranging these 8 identical stars and 4 identical bars in a row, which is calculated as 12!/(8! * 4!) = 495.

Answer: B.

Similar questions to practice:
https://gmatclub.com/forum/larry-michae ... 08739.html
https://gmatclub.com/forum/12-marbles-a ... 09082.html
https://gmatclub.com/forum/in-how-many- ... 64389.html
https://gmatclub.com/forum/in-how-many- ... 40328.html
https://gmatclub.com/forum/there-are-tw ... 97867.html
https://gmatclub.com/forum/in-how-many- ... 07384.html
https://gmatclub.com/forum/a-lift-with- ... 49237.html
https://gmatclub.com/forum/in-how-many- ... 26991.html

Check other questions related to distribution in DISTRIBUTING ITEMS/PEOPLE/NUMBERS... (QUESTION COLLECTION) from our Special Questions' Directory

Hope this helps.
­
User avatar
BKD5050
Joined: 26 Aug 2023
Last visit: 02 Aug 2026
Posts: 123
Own Kudos:
Given Kudos: 49
Posts: 123
Kudos: 25
Kudos
Add Kudos
Bookmarks
Bookmark this Post
How can we use partition method? Sweets has to be identical right? but sweets are different. Little confused
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 08 Aug 2026
Posts: 112,619
Own Kudos:
Given Kudos: 110,722
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 112,619
Kudos: 832,951
Kudos
Add Kudos
Bookmarks
Bookmark this Post
BKD5050
How can we use partition method? Sweets has to be identical right? but sweets are different. Little confused
Here sweets considered to be identical.
User avatar
bumpbot
User avatar
Non-Human User
Joined: 09 Sep 2013
Last visit: 04 Jan 2021
Posts: 39,152
Own Kudos:
Posts: 39,152
Kudos: 1,150
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Automated notice from GMAT Club BumpBot:

A member just gave Kudos to this thread, showing it’s still useful. I’ve bumped it to the top so more people can benefit. Feel free to add your own questions or solutions.

This post was generated automatically.
Moderator:
Math Expert
112619 posts