If x, y, and z are positive integers, and x + y + z = 9. How many combinations of x, y, and z are possible?
OA 28
OA 28
Live GMAT classes with Target Test Prep start Nov 21 and Nov 22. First class free.
See classesLearn live with an expert or move at your own pace. Every option includes the complete TTP study system.
Target Test Prep was voted #1 Best Test Prep in the 2026 Newsweek Readers’ Choice™ Awards.
with Josh Braslow, 20+ years in test prep
Self-paced EA prep. Study on your schedule.
with
Complete access from day one. Study on your schedule.
I won't require you to attend a seminar before providing the solution. Who is that guy/girl and who let him/her into our fine community? Heh.shibal wrote:If x, y, and z are positive integers, and x + y + z = 9. How many combinations of x, y, and z are possible?
OA 28

I'm not hesitant to give out the solution.Stuart Kovinsky wrote:I won't require you to attend a seminar before providing the solution. Who is that guy/girl and who let him/her into our fine community? Heh.shibal wrote:If x, y, and z are positive integers, and x + y + z = 9. How many combinations of x, y, and z are possible?
OA 28
Let's think about the different ways we can sum 3 positive integers to 9:
1/1/7
1/2/6
1/3/5
1/4/4
2/2/5
2/3/4
3/3/3
Now let's think about how many variations of x, y and z those combinations give us:
1/1/7, 1/4/4 and 2/2/5. The single digit in each could be the x, y or z, so each of these gives us 3 possible assignments of numbers to variables. So, that's 9 possibilities so far.
1/2/6, 1/3/5 and 2/3/4. Three distinct numbers can be arranged 3!=6 different ways. So, each of these gives us 6 possible assignments of numbers to variables. That's another 18 possibilities.
3/3/3 can only be assigned 1 way (x=3, y=3, z=3), so that's 1 more possibility.
So, 9 + 18 + 1 = 28 total possibilities.
GMATQuantCoach wrote:I'm not hesitant to give out the solution.Stuart Kovinsky wrote:I won't require you to attend a seminar before providing the solution. Who is that guy/girl and who let him/her into our fine community? Heh.shibal wrote:If x, y, and z are positive integers, and x + y + z = 9. How many combinations of x, y, and z are possible?
OA 28
Let's think about the different ways we can sum 3 positive integers to 9:
1/1/7
1/2/6
1/3/5
1/4/4
2/2/5
2/3/4
3/3/3
Now let's think about how many variations of x, y and z those combinations give us:
1/1/7, 1/4/4 and 2/2/5. The single digit in each could be the x, y or z, so each of these gives us 3 possible assignments of numbers to variables. So, that's 9 possibilities so far.
1/2/6, 1/3/5 and 2/3/4. Three distinct numbers can be arranged 3!=6 different ways. So, each of these gives us 6 possible assignments of numbers to variables. That's another 18 possibilities.
3/3/3 can only be assigned 1 way (x=3, y=3, z=3), so that's 1 more possibility.
So, 9 + 18 + 1 = 28 total possibilities.
You can get the answer in one step. 8C2 = 28.
In order to illustrate the process and setup, it is much easier to do so in a classroom environment. Please understand.
I think the question can be answered as follows:shibal wrote:If x, y, and z are positive integers, and x + y + z = 9. How many combinations of x, y, and z are possible?
OA 28
Good way of thinkingIan Stewart wrote:There are quite a few good ways to do this kind of problem. One way is to imagine nine donuts:
O O O O O O O O O
Now, say we put two partitions ('|') among our donuts:
O O | O O O | O O O O
We've just worked out a way to add three positive integers to get a sum of 9 (just count the donuts in each zone): 2 + 3 + 4 = 9.
For each different partition we can make, we'll get a different set of values for x, y and z that add to 9. There are 8 gaps between pairs of donuts where we could put a partition, so there are 8C2 = 8*7/2 = 28 different ways to choose positive integers for x, y and z so that x+y+z = 9.
We can use the same trick, but it's a bit more complicated since we can also use 0 in this question (and in the previous question we knew that x, y and z were all positive).shanrizvi wrote:How can I solve the following question using the trick provided in this read?
How many positive integers less than 10,000 are there in which sum of digits equals 5?
(a) 31
(b) 51
(c) 56
(d) 62
(e) 93

Please, what does c mean in 8C2? does it matter where you put the partition in any problem ?Ian Stewart wrote:There are quite a few good ways to do this kind of problem. One way is to imagine nine donuts:
O O O O O O O O O
Now, say we put two partitions ('|') among our donuts:
O O | O O O | O O O O
We've just worked out a way to add three positive integers to get a sum of 9 (just count the donuts in each zone): 2 + 3 + 4 = 9.
For each different partition we can make, we'll get a different set of values for x, y and z that add to 9. There are 8 gaps between pairs of donuts where we could put a partition, so there are 8C2 = 8*7/2 = 28 different ways to choose positive integers for x, y and z so that x+y+z = 9.