Last visit was: 25 Apr 2026, 15:01 It is currently 25 Apr 2026, 15:01
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: 25 Apr 2026
Posts: 109,830
Own Kudos:
Given Kudos: 105,886
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 109,830
Kudos: 811,270
 [40]
1
Kudos
Add Kudos
39
Bookmarks
Bookmark this Post
Most Helpful Reply
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 25 Apr 2026
Posts: 109,830
Own Kudos:
811,270
 [3]
Given Kudos: 105,886
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 109,830
Kudos: 811,270
 [3]
2
Kudos
Add Kudos
1
Bookmarks
Bookmark this Post
General Discussion
User avatar
chetan2u
User avatar
GMAT Expert
Joined: 02 Aug 2009
Last visit: 25 Apr 2026
Posts: 11,229
Own Kudos:
45,020
 [2]
Given Kudos: 335
Status:Math and DI Expert
Location: India
Concentration: Human Resources, General Management
GMAT Focus 1: 735 Q90 V89 DI81
Products:
Expert
Expert reply
GMAT Focus 1: 735 Q90 V89 DI81
Posts: 11,229
Kudos: 45,020
 [2]
Kudos
Add Kudos
2
Bookmarks
Bookmark this Post
User avatar
Archit3110
User avatar
Major Poster
Joined: 18 Aug 2017
Last visit: 25 Apr 2026
Posts: 8,630
Own Kudos:
5,190
 [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)
Products:
GMAT Focus 2: 645 Q83 V82 DI81
Posts: 8,630
Kudos: 5,190
 [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: 11 Nov 2025
Posts: 395
Own Kudos:
Given Kudos: 372
Location: India
Concentration: Strategy, Leadership
GMAT 1: 660 Q47 V34
Products:
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: 10
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: 10
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: 10
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: 10
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: 08 Feb 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: 25 Apr 2026
Posts: 109,830
Own Kudos:
Given Kudos: 105,886
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 109,830
Kudos: 811,270
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.
Moderators:
Math Expert
109830 posts
Tuck School Moderator
852 posts