Skip to main content

1998 AIME Problem 14

Problem 14 of 15HarderAlgebraNumber TheoryProblem-Solving Techniques

An m×n×pm \times n \times p rectangular box has half the volume of an (m+2)×(n+2)×(p+2)(m + 2) \times (n + 2) \times (p + 2) rectangular box, where m,m, n,n, and pp are integers, and m≤n≤p.m \le n \le p. What is the largest possible value of p?p?

Your answer

Integer from 0 to 999
Show solution

Solution

The condition 2mnp=(m+2)(n+2)(p+2)2mnp = (m + 2)(n + 2)(p + 2) rewrites as (1+2m)(1+2n)(1+2p)=2. \begin{aligned} &\left(1 + \frac{2}{m}\right)\left(1 + \frac{2}{n}\right)\left(1 + \frac{2}{p}\right) \\ &= 2. \end{aligned} If m=1m = 1 the first factor alone is 3>2,3 \gt 2, and if m=2m = 2 it equals 22 while the other factors exceed 1;1; both are impossible. If m≥5,m \ge 5, then since n≥mn \ge m the first two factors are at most (75)2=4925,\left(\frac{7}{5}\right)^2 = \frac{49}{25}, forcing 1+2p≥5049,1 + \frac{2}{p} \ge \frac{50}{49}, i.e. p≤98.p \le 98. For m=4m = 4 the equation becomes 4np=3(n+2)(p+2),4np = 3(n + 2)(p + 2), i.e. (n−6)(p−6)=48,(n - 6)(p - 6) = 48, so p≤54.p \le 54. For m=3m = 3 it becomes 6np=5(n+2)(p+2),6np = 5(n + 2)(p + 2), i.e. np−10n−10p−20=0,np - 10n - 10p - 20 = 0, or (n−10)(p−10)=120.(n - 10)(p - 10) = 120. Both factors must be positive (if n,p<10n, p \lt 10 the product (10−n)(10−p)(10 - n)(10 - p) is at most 4949), so the largest pp comes from n−10=1:n - 10 = 1: n=11n = 11 and p=130.p = 130. Indeed 2⋅3⋅11⋅130=85802 \cdot 3 \cdot 11 \cdot 130 = 8580 =5⋅13⋅132.= 5 \cdot 13 \cdot 132. Since every other case yields p≤98,p \le 98, the largest possible value is p=130.p = 130.
AoPS wiki

Tagged: Diophantine Equation · Simon’s Favorite Factoring Trick · bounding to limit cases

More practice