Community

Want to learn how to tackle those tough AMC/AIME/Olympiad counting and probability problems? Check out Art of Problem Solving's Intermediate Counting & Probability by David Patrick.
Login Register Memberlist Search AoPS Blogs Contests Galleries Forum Index
The time now is Tue Dec 01, 2009 2:06 pm
All times are UTC - 8
View posts since last visit
View unanswered posts
Neat counting problem
Moderators: High School Basics Moderators
Post new topic   Reply to topic View previous topicView next topic
19 Posts • Page 1 of 1
Author Message
Neil30z
New Member
New Member

Offline
Joined: 10 Feb 2009
Posts: 13

To rate posts you must be logged in
#1
Neat counting problem
ordered quadruples: how many?

In the equation:
x + y + z + w = 17
x, y, z, w, are all positive integers.

How many ordered quadruples (x,y,z,w) are there that satisfy the equation?
Last edited by Neil30z on Sat Nov 07, 2009 7:29 pm; edited 1 time in total 
PostPosted: Sat Nov 07, 2009 7:16 pm  Back to top 
  ProfilePM
modularmarc101
Navier-Stokes Equations
Navier-Stokes Equations


Offline
Joined: 04 May 2008
Posts: 1194
Location: Puerto Rico
Puerto Rico

To rate posts you must be logged in
#2
Let 17 dots * * * ... * * represent the 17 in the equation. We can separate them with 3 dividers to create 4 regions that represent the values of the 4 variables. There are 16 spaces available to place the dividers, so there are \binom{16}{3} = \boxed{560} solutions.
_________________
Goals: 140+ AMC 10 | 7+ AIME | 10+ USAJMO | 65+ USAMTS (Bronze Medal) |

PostPosted: Sat Nov 07, 2009 7:27 pm  Back to top 
  ProfilePMMSNBlog
Neil30z
New Member
New Member

Offline
Joined: 10 Feb 2009
Posts: 13

To rate posts you must be logged in
#3
You had the right reasoning/intuition about it, but you made a mistake about how to think of the string of 17 dots. Remember, if you have the 3 dividers there, they add to the amount of "dots" in the string.

PostPosted: Sat Nov 07, 2009 7:39 pm  Back to top 
  ProfilePM
modularmarc101
Navier-Stokes Equations
Navier-Stokes Equations


Offline
Joined: 04 May 2008
Posts: 1194
Location: Puerto Rico
Puerto Rico

To rate posts you must be logged in
#4
I don't understand. What do you mean?
_________________
Goals: 140+ AMC 10 | 7+ AIME | 10+ USAJMO | 65+ USAMTS (Bronze Medal) |

PostPosted: Sat Nov 07, 2009 7:42 pm  Back to top 
  ProfilePMMSNBlog
Neil30z
New Member
New Member

Offline
Joined: 10 Feb 2009
Posts: 13

To rate posts you must be logged in
#5
Take a look at the 17 dots you have. As you said, there should be 3 dividers. So in your string of 17 dots, add 3 more dots, but make them look different, and they'll denote the dividers. So in total, your string now contains 20 characters. Now look at the repeating characters that you have. This just becomes a factorial problem.

PostPosted: Sat Nov 07, 2009 7:46 pm  Back to top 
  ProfilePM
modularmarc101
Navier-Stokes Equations
Navier-Stokes Equations


Offline
Joined: 04 May 2008
Posts: 1194
Location: Puerto Rico
Puerto Rico

To rate posts you must be logged in
#6
Ok, but the dividers can not be at the ends and they can not be next to each other, so it is 16 * 14 * 12 = 2688?

According to what you're saying it should be \frac{20!}{17!3!} = 1140 ?
_________________
Goals: 140+ AMC 10 | 7+ AIME | 10+ USAJMO | 65+ USAMTS (Bronze Medal) |

PostPosted: Sat Nov 07, 2009 7:52 pm  Back to top 
  ProfilePMMSNBlog
MathAndKnowledge
Riemann Hypothesis
Riemann Hypothesis

Offline
Joined: 23 Jan 2008
Posts: 251
Location: West Lafayette, Indiana

To rate posts you must be logged in
#7
Neil30z you are wrong because x, y, z, and w are positive integers. If they were nonnegative integers then your reasoning would hold. modularmarc101's initial answer is correct.
_________________
Funniest thread ever: http://www.artofproblemsolving.com/Forum/viewtopic.php?t=203500

PostPosted: Sat Nov 07, 2009 7:55 pm  Back to top 
  ProfilePM
Neil30z
New Member
New Member

Offline
Joined: 10 Feb 2009
Posts: 13

To rate posts you must be logged in
#8
modularmarc101 wrote:


According to what you're saying it should be \frac {20!}{17!3!} = 1140 ?


yes, now this answer is correct.

PostPosted: Sat Nov 07, 2009 8:12 pm  Back to top 
  ProfilePM
Ihatepie
Navier-Stokes Equations
Navier-Stokes Equations

Offline
Joined: 25 Oct 2006
Posts: 1884
Location: Southwest, CT

To rate posts you must be logged in
#9
For anyone confused, modular had the right answer the first time, but for the wrong reasons.
_________________
2010 Goals: ARML-7 AMC10- 144 AMC12- 126 AIME- 8 USAJMO-14?

PostPosted: Sat Nov 07, 2009 9:52 pm  Back to top 
  ProfilePMAIM
Neil30z
New Member
New Member

Offline
Joined: 10 Feb 2009
Posts: 13

To rate posts you must be logged in
#10
You could just do 20 choose 3 and get 1140, because first you're adding the 3 dividers to the string, and then you could just choose the different positions of the dividers in that string.

PostPosted: Sun Nov 08, 2009 8:27 am  Back to top 
  ProfilePM
Eulers_Apprentice
Hodge Conjecture
Hodge Conjecture

Offline
Joined: 05 Aug 2008
Posts: 51

To rate posts you must be logged in
#11
Ihatepie is right, the answer is 560.
why?

The reason is that x, y, z, and w are all positive integers, not whole numbers.
To change the problem to whole numbers, we let a=x-1, b=y-1, c=z-1, d=w-1.
Now we have a+b+c+d=13, but a, b, c, d are whole numbers.

We can use balls and urns now to get \binom{13+3}{3}=\binom{16}{3}=\boxed{560}


PostPosted: Sun Nov 08, 2009 3:38 pm  Back to top 
  ProfilePM
modularmarc101
Navier-Stokes Equations
Navier-Stokes Equations


Offline
Joined: 04 May 2008
Posts: 1194
Location: Puerto Rico
Puerto Rico

To rate posts you must be logged in
#12
Ihatepie wrote:
For anyone confused, modular had the right answer the first time, but for the wrong reasons.

Why the wrong reasons?
_________________
Goals: 140+ AMC 10 | 7+ AIME | 10+ USAJMO | 65+ USAMTS (Bronze Medal) |

PostPosted: Sun Nov 08, 2009 5:10 pm  Back to top 
  ProfilePMMSNBlog
AIME15
Birch & Swinnerton Dyer
Birch & Swinnerton Dyer


Offline
Joined: 24 Mar 2008
Posts: 8593
Location: Pleasanton, TX
United States

To rate posts you must be logged in
#13
Read the post above yours Wink
_________________
GOALS: MC School: 46 | Chapter: 46 | State: 46 | National: 46 | AMC 8: 25 | AMC 10: 150 | AMC 12: 150 | AIME: 15 | USAMO: 42 | TST: 63 | IMO: 42 |

PostPosted: Sun Nov 08, 2009 5:16 pm  Back to top 
  ProfilePMAIMBlog
modularmarc101
Navier-Stokes Equations
Navier-Stokes Equations


Offline
Joined: 04 May 2008
Posts: 1194
Location: Puerto Rico
Puerto Rico

To rate posts you must be logged in
#14
But in that case, the arraw of dots has 14 spaces in total.. not 16 ??
_________________
Goals: 140+ AMC 10 | 7+ AIME | 10+ USAJMO | 65+ USAMTS (Bronze Medal) |

PostPosted: Sun Nov 08, 2009 5:20 pm  Back to top 
  ProfilePMMSNBlog
Ihatepie
Navier-Stokes Equations
Navier-Stokes Equations

Offline
Joined: 25 Oct 2006
Posts: 1884
Location: Southwest, CT

To rate posts you must be logged in
#15
modularmarc101 wrote:
But in that case, the arraw of dots has 14 spaces in total.. not 16 ??

That's not how it works. Basically, you have 13 dots, and then you put in the 3 dividers. So you have 16 things in all. Then you have to choose three of those spots to be dividers. So it is \binom{16}{3}
_________________
2010 Goals: ARML-7 AMC10- 144 AMC12- 126 AIME- 8 USAJMO-14?

PostPosted: Sun Nov 08, 2009 5:43 pm  Back to top 
  ProfilePMAIM
randomguy64
Poincare Conjecture
Poincare Conjecture

Offline
Joined: 21 Aug 2009
Posts: 110
Location: California

To rate posts you must be logged in
#16
Neil30z wrote:
modularmarc101 wrote:


According to what you're saying it should be \frac {20!}{17!3!} = 1140 ?


yes, now this answer is correct.


Actually, this is the correct answer, not 560, because w, x, y, and z form an ORDERED quadruple, hence the four dividers are distinguishable.

PostPosted: Sun Nov 08, 2009 7:01 pm  Back to top 
  ProfilePM
Ihatepie
Navier-Stokes Equations
Navier-Stokes Equations

Offline
Joined: 25 Oct 2006
Posts: 1884
Location: Southwest, CT

To rate posts you must be logged in
#17
No, the dividers aren't distinguishable. The spot to the left of the first divider is x, in between 1st and 2nd is y, etc.
_________________
2010 Goals: ARML-7 AMC10- 144 AMC12- 126 AIME- 8 USAJMO-14?

PostPosted: Sun Nov 08, 2009 7:35 pm  Back to top 
  ProfilePMAIM
randomguy64
Poincare Conjecture
Poincare Conjecture

Offline
Joined: 21 Aug 2009
Posts: 110
Location: California

To rate posts you must be logged in
#18
Oh. OK.

I get it now. Thanks!

PostPosted: Mon Nov 09, 2009 3:15 pm  Back to top 
  ProfilePM
Neil30z
New Member
New Member

Offline
Joined: 10 Feb 2009
Posts: 13

To rate posts you must be logged in
#19
Sorry everybody, but I just realized that the problem said positive, therefore modularmarc's first answer is correct. My answer (1140) is for nonnegative.

PostPosted: Wed Nov 11, 2009 3:00 pm  Back to top 
  ProfilePM
Display posts from previous:   Sort by:   
19 Posts • Page 1 of 1
Post new topic   Reply to topic View previous topicView next topic
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
You cannot post calendar events in this forum


© Copyright 2008 AoPS Incorporated. All Rights Reserved. • FoundationPrivacyContact Us