AoPSWiki
Want to learn how to tackle those tough MATHCOUNTS and AMC counting and probability problems? Check out Art of Problem Solving's Introduction to Counting & Probability by David Patrick.
Personal tools

2005 AIME I Problems/Problem 4

From AoPSWiki

Problem

The director of a marching band wishes to place the members into a formation that includes all of them and has no unfilled positions. If they are arranged in a square formation, there are members left over. The director realizes that if he arranges the group in a formation with more rows than columns, there are no members left over. Find the maximum number of members this band can have.

Contents

Solution

Solution 1

If then n^2 + 6n + 14 < n^2 + 7n < n^2 + 8n + 21 and so (n + 3)^2 + 5 < n(n + 7) < (n + 4)^2 + 5. If is an integer there are no numbers which are 5 more than a perfect square strictly between and . Thus, if the number of columns is , the number of students is which must be 5 more than a perfect square, so . In fact, when we have n(n + 7) = 14\cdot 21 = 294 = 17^2 + 5, so this number works and no larger number can. Thus, the answer is .

Solution 2

Define the number of rows/columns of the square formation as , and the number of rows of the rectangular formation (so there are columns). Thus, s^2 + 5 = r(r-7) \Longrightarrow r^2 - 7r - s^2 - 5 = 0. The quadratic formula yields r = \frac{7 \pm \sqrt{49 - 4(1)(-s - 5)}}{2} = \frac{7 \pm \sqrt{4s^2 + 69}}{2}. must be an integer, say . Then and . The factors of are ; is maximized for the first case. Thus, , and r = \frac{7 \pm 35}{2} = 21, -14. The latter obviously can be discarded, so there are rows and columns, making the answer .

Solution 3

The number of members is for some and . Multiply both sides by and complete the square to get . Thus, we have . Since we want to maximize , set the first factor equal to and the second equal to . Solving gives , so the answer is .

See also

2005 AIME I (ProblemsResources)
Preceded by
Problem 3
Followed by
Problem 5
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Learn how to typeset math like a pro.
Click here to learn how to use the LaTeX typesetting system.
© Copyright 2008 AoPS Incorporated. All Rights Reserved. • FoundationPrivacyContact Us