AoPSWiki
Our Precalculus course starts on Dec. 4. Master trig, complex numbers, and vectors and matrices in 2 and 3 dimensions. Click here to enroll today!

2005 Alabama ARML TST Problems/Problem 12

From AoPSWiki

Problem

Find the number of ordered pairs of positive integers (a,b,c,d) that satisfy the following equation:
a+b+c+d=12.

Contents

Solution

Solution 1

The generating function for a, b, c, and d is x+x^2+x^3+\cdots.

(x+x^2+x^3+\cdots)^4=x^4(1+x+x^2+x^3)^4= x^4+{4\choose 3}x^5+{5\choose 3}x^6+\cdots

The coefficient of x^{12} is \binom{3+12-4}{3}=165.

Solution 2

We consider a bijection to the following combinatorial argument. Suppose we have twelve balls and we would like to put them into four urns. There is a positive number of balls in each urn, so we put one ball into each urn initially. We are left with eight balls to go into four urns, which is equivalent to have three dividers. Thus there are \frac{11!}{8!3!} = 165 ordered pairs.

See also

2005 Alabama ARML TST (Problems)
Preceded by:
Problem 11
Followed by:
Problem 13
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
A similar problem
Looking for a challenging geometry text? Preparing for MATHCOUNTS or the AMC exams? Check out Art of Problem Solving's Introduction to Geometry by Richard Rusczyk.
© Copyright 2008 AoPS Incorporated. All Rights Reserved. • FoundationPrivacyContact Us