Last visit was: 25 Apr 2026, 01:15 It is currently 25 Apr 2026, 01:15
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
LogicGuru1
Joined: 04 Jun 2016
Last visit: 28 May 2024
Posts: 463
Own Kudos:
2,645
 [2]
Given Kudos: 36
GMAT 1: 750 Q49 V43
GMAT 1: 750 Q49 V43
Posts: 463
Kudos: 2,645
 [2]
Kudos
Add Kudos
2
Bookmarks
Bookmark this Post
User avatar
14101992
Joined: 22 Jun 2016
Last visit: 08 Apr 2018
Posts: 177
Own Kudos:
636
 [2]
Given Kudos: 10
Products:
Posts: 177
Kudos: 636
 [2]
1
Kudos
Add Kudos
1
Bookmarks
Bookmark this Post
User avatar
LogicGuru1
Joined: 04 Jun 2016
Last visit: 28 May 2024
Posts: 463
Own Kudos:
2,645
 [1]
Given Kudos: 36
GMAT 1: 750 Q49 V43
GMAT 1: 750 Q49 V43
Posts: 463
Kudos: 2,645
 [1]
Kudos
Add Kudos
1
Bookmarks
Bookmark this Post
User avatar
KarishmaB
Joined: 16 Oct 2010
Last visit: 23 Apr 2026
Posts: 16,442
Own Kudos:
Given Kudos: 485
Location: Pune, India
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 16,442
Kudos: 79,406
Kudos
Add Kudos
Bookmarks
Bookmark this Post
LogicGuru1
14101992
no of 1st variety of pastry: a
no of 2nd variety of pastry: b
no of 3rd variety of pastry: c
no of 4th variety of pastry: d

So, we have a+b+c+d=10 (where a,b,c,d>0)

Remember: Number of positive integer solution of x+y+z+... (r terms) = n is (n-1)C(r-1)

So, the answer to the question would be (10-1)C(4-1) = 9C3 = 84.

------------------------------------

P.S. Don't forget to give kudos ;)

Ok, your explanation sounds perfect.

My approach was:-
In a non restrictive way when a person buys 10 pastries but it is not compulsory to buy all four pastries:-apple+banana+cherry+dark chocolate =10 (four types of pastries should add up to 10)
Now a person can choose to ignore a or b or c or d completely
In that case the a or b or c or d can be zero
But since John need to buy atleast one pastry of each type therefore neither a,b,c,d can be 0
Therefore:- IN JOHN's CASE
(1+a)+(1+b)+(1+c)+(1+d)=10
a+b+c+d=10-4
a+b+c+d=6
Then I used P&N partition method
3 partitions needed to make 6
| | | | | | P P P (Total object to chose from= 9 ; 6 of them are | and 3 of them are P)

therefore total unique way = nCr = 9C3 =\(\frac{9!}{3!6!}\)
==>\(\frac{9*8*7}{3*2*1}\)

==> \(\frac{504}{6}= 84\)

Is there a derivative proof for the easy method you used
Number of positive integer solution of x+y+z+... (r terms) = n
is (n-1)C(r-1)

The formula is doing exactly what you are doing.

You need 10 goodies. You need to split them into 4 distinct groups to decide how many of each should you take.

G _ G _ G _ G _ G _ G _ G _ G _ G _ G

There are 9 slots to put in the partition. (shown by _ ). We need to select any 3 of them since we need to make 4 groups. Each group will have at least one goodie.
That is how you get 9C3 or in the general case (n-1)C(r-1)
User avatar
KarishmaB
Joined: 16 Oct 2010
Last visit: 23 Apr 2026
Posts: 16,442
Own Kudos:
Given Kudos: 485
Location: Pune, India
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 16,442
Kudos: 79,406
Kudos
Add Kudos
Bookmarks
Bookmark this Post
LogicGuru1
14101992
no of 1st variety of pastry: a
no of 2nd variety of pastry: b
no of 3rd variety of pastry: c
no of 4th variety of pastry: d

So, we have a+b+c+d=10 (where a,b,c,d>0)

Remember: Number of positive integer solution of x+y+z+... (r terms) = n is (n-1)C(r-1)

So, the answer to the question would be (10-1)C(4-1) = 9C3 = 84.

------------------------------------

P.S. Don't forget to give kudos ;)

Ok, your explanation sounds perfect.

My approach was:-
In a non restrictive way when a person buys 10 pastries but it is not compulsory to buy all four pastries:-apple+banana+cherry+dark chocolate =10 (four types of pastries should add up to 10)
Now a person can choose to ignore a or b or c or d completely
In that case the a or b or c or d can be zero
But since John need to buy atleast one pastry of each type therefore neither a,b,c,d can be 0
Therefore:- IN JOHN's CASE
(1+a)+(1+b)+(1+c)+(1+d)=10
a+b+c+d=10-4
a+b+c+d=6
Then I used P&N partition method
3 partitions needed to make 6
| | | | | | P P P (Total object to chose from= 9 ; 6 of them are | and 3 of them are P)

therefore total unique way = nCr = 9C3 =\(\frac{9!}{3!6!}\)
==>\(\frac{9*8*7}{3*2*1}\)

==> \(\frac{504}{6}= 84\)

Is there a derivative proof for the easy method you used
Number of positive integer solution of x+y+z+... (r terms) = n
is (n-1)C(r-1)

On the same lines, think about what happens when you are allowed to take no pastry of one or more types, that is, when the condition of "at least one pastry of each type" is dropped.
User avatar
LogicGuru1
Joined: 04 Jun 2016
Last visit: 28 May 2024
Posts: 463
Own Kudos:
Given Kudos: 36
GMAT 1: 750 Q49 V43
GMAT 1: 750 Q49 V43
Posts: 463
Kudos: 2,645
Kudos
Add Kudos
Bookmarks
Bookmark this Post
VeritasPrepKarishma


On the same lines, think about what happens when you are allowed to take no pastry of one or more types, that is, when the condition of "at least one pastry of each type" is dropped.

Well i guess the Natural number solution (1 to 10 in this case) will change to a whole number solution 0 to 10 (Why don' people use these terms here, i don't understand, I know gmat is obsessed with using INTEGER as a larger subset.. But using terms like natural number, counting numbers and whole numbers once in a while is a good reason to fire the lazy neurons :))

so coming back to the point ..

The solution will be
\(\frac{13!}{10!3!}\)
User avatar
bumpbot
User avatar
Non-Human User
Joined: 09 Sep 2013
Last visit: 04 Jan 2021
Posts: 38,978
Own Kudos:
Posts: 38,978
Kudos: 1,117
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.
Moderators:
Math Expert
109822 posts
Tuck School Moderator
853 posts