返回题库

AIME 1993 · 第 4 题

AIME 1993 — Problem 4

专题
Contest Math
难度
L4
来源
AIME

题目详情

Problem

How many ordered four-tuples of integers (a,b,c,d)(a,b,c,d)\, with 0<a<b<c<d<5000 < a < b < c < d < 500\, satisfy a+d=b+ca + d = b + c\, and bcad=93bc - ad = 93\,?

解析

Solution

Solution 1

Let k=a+d=b+ck = a + d = b + c so d=ka,b=kcd = k-a, b=k-c. It follows that (kc)ca(ka)=(ac)(a+ck)=(ca)(dc)=93(k-c)c - a(k-a) = (a-c)(a+c-k) = (c-a)(d-c) = 93. Hence (ca,dc)=(1,93),(3,31),(31,3),(93,1)(c - a,d - c) = (1,93),(3,31),(31,3),(93,1).

Solve them in terms of cc to get (a,b,c,d)=(c93,c92,c,c+1),(a,b,c,d) = (c - 93,c - 92,c,c + 1), (c31,c28,c,c+3),(c - 31,c - 28,c,c + 3), (c1,c+92,c,c+93),(c - 1,c + 92,c,c + 93), (c3,c+28,c,c+31)(c - 3,c + 28,c,c + 31). The last two solutions don't follow a<b<c<da < b < c < d, so we only need to consider the first two solutions.

The first solution gives us c931c - 93\geq 1 and c+1499c + 1\leq 499     94c498\implies 94\leq c\leq 498, and the second one gives us 32c49632\leq c\leq 496.

So the total number of such quadruples is 405+465=870405 + 465 = \boxed{870}.

Solution 2

Let b=a+mb = a + m and c=a+m+nc = a + m + n. From a+d=b+ca + d = b + c, d=b+ca=a+2m+nd = b + c - a = a + 2m + n.

Substituting b=a+mb = a + m, c=a+m+nc = a + m + n, and d=b+ca=a+2m+nd = b + c - a = a + 2m + n into bcad=93bc - ad = 93,

bcad=(a+m)(a+m+n)a(a+2m+n)=m(m+n).=93=3(31)bc - ad = (a + m)(a + m + n) - a(a + 2m + n) = m(m + n). = 93 = 3(31) Hence, (m,n)=(1,92)(m,n) = (1,92) or (3,28)(3,28).

For (m,n)=(1,92)(m,n) = (1,92), we know that 0<a<a+1<a+93<a+94<5000 < a < a + 1 < a + 93 < a + 94 < 500, so there are 405405 four-tuples. For (m,n)=(3,28)(m,n) = (3,28), 0<a<a+3<a+31<a+34<5000 < a < a + 3 < a + 31 < a + 34 < 500, and there are 465465 four-tuples. In total, we have 405+465=870405 + 465 = \boxed{870} four-tuples.

Solution 3

Square both sides of the first equation in order to get bcbc and adad terms, which we can plug 9393 in for.

(a+d)2=(b+c)2    a2+2ad+d2=b2+2bc+c2    2bc2ad=a2b2+d2c2    2(bcad)=(ab)(a+b)+(dc)(d+c)\begin{aligned} (a+d)^2 = (b+c)^2 &\implies a^2 + 2ad + d^2 = b^2 + 2bc + c^2 \\ &\implies 2bc-2ad = a^2-b^2 + d^2-c^2 \\ &\implies 2(bc-ad) = (a-b)(a+b)+(d-c)(d+c) \end{aligned} We can plug 9393 in for bcadbc - ad to get 186186 on the left side, and also observe that ab=cda-b = c-d after rearranging the first equation. Plug in cdc-d for aba-b.

186=(cd)(a+b)+(dc)(d+c)    186=(dc)(a+b)+(dc)(d+c)    186=(dc)(d+cab)186 = (c-d)(a+b) + (d-c)(d+c) \implies 186 = -(d-c)(a+b) + (d-c)(d+c) \implies 186 = (d-c)(d+c-a-b)

Now observe the possible factors of 186186, which are 1186,293,362,6311 \cdot 186, 2\cdot 93, 3 \cdot 62, 6\cdot 31. (dc)(d-c) and (d+cab)(d+c-a-b) must be factors of 186186, and (d+cab)(d+c-a-b) must be greater than (dc)(d-c).

11861 \cdot 186 work, and yields 405405 possible solutions. 2932 \cdot 93 does not work, because if cd=2c-d = 2, then a+ba+b must differ by 2 as well, but an odd number 9393 can only result from two numbers of different parity. cdc-d will be even, and a+ba+b will be even, so c+d(a+b)c+d - (a+b) must be even. 3623 \cdot 62 works, and yields 465465 possible solutions, while 6316 \cdot 31 fails for the same reasoning above.

Thus, the answer is 405+465=870405 + 465 = \boxed{870}

Solution 4

Add the two conditions together to get a+d+ad+93=b+c+bca+d+ad+93=b+c+bc. Rearranging and factorising with SFFT, (a+1)(d+1)+93=(b+1)(c+1)(a+1)(d+1)+93=(b+1)(c+1). This implies that for every quadruple (a,b,c,d)(a,b,c,d), we can replace aa+1a\longrightarrow a+1, bb+1b\longrightarrow b+1, etc. and this will still produce a valid quadruple. This means, that we can fix a=1a=1, and then just repeatedly add 11 to get the other quadruples.

Now, our conditions are b+c=d+1b+c=d+1 and bc=d+93bc=d+93. Replacing dd in the first equation, we get bcbc=92bc-b-c=92. Factorising again with SFFT gives (b1)(c1)=93(b-1)(c-1)=93. Since $b, we have two possible cases to consider.

Case 1: b=2b=2, c=94c=94. This produces the quadruple (1,2,94,95)(1,2,94,95), which indeed works.

Case 2: b=4b=4, c=32c=32. This produces the quadruple (1,4,32,35)(1,4,32,35), which indeed works.

Now, for case 1, we can add 11 to each term exactly 404404 times (until we get the quadruple (405,406,498,499)(405,406,498,499)), until we violate d<500d<500. This gives 405405 quadruples for case 1.

For case 2, we can add 11 to each term exactly 464464 times (until we get the quadruple (465,468,496,499)(465,468,496,499)). this gives 465465 quadruples for case 2.

In conclusion, having exhausted all cases, we can finish. There are hence 405+465=870405+465=\boxed{870} possible quadruples.

Solution 5

Let r=dcr = d-c. From the equation a+d=b+ca+d = b+c, we have

r=dc=ba,r = d-c = b-a , so b=a+rb = a+r and c=drc = d-r. We then have

93=(a+r)(dr)ad=rdrar2=r(dar).93 = (a+r)(d-r) - ad = rd - ra - r^2 = r(d-a-r) . Since c>bc > b, dr>a+rd-r > a+r, or dar>rd-a-r > r. Since the prime factorization of 93 is 3313 \cdot 31, we must either have r=1r=1 and dar=93d-a-r = 93, or r=3r=3 and dar=31d-a-r = 31. We consider these cases separately.

If r=1r=1, then da=94d-a = 94, b=a+1b= a+1, and c=d1c = d-1. Thus dd can be any integer between 95 and 499, inclusive, and our choice of dd determines the four-tuple (a,b,c,d)(a,b,c,d). We therefore have 49995+1=405499-95+1 = 405 possibilities in this case.

If r=3r=3, then da=34d-a = 34, b=a+3b = a+3, and c=d3c=d-3. Thus dd can be any integer between 35 and 499, inclusive, and our choice of dd determines the four-tuple (a,b,c,d)(a,b,c,d), as before. We therefore have 49935+1=465499-35+1 = 465 possibilities in this case.

Since there are 405 possibilities in the first case and 465 possibilities in the second case, in total there are 405+465=870405 + 465 = \boxed{870} four-tuples.

Solution 6

Assume d=x+m,a=xm,c=x+nd = x+m, a = x-m, c = x+n, and b=xnb = x-n. This clearly satisfies the condition that a+d=b+ca+d = b+c since (2x=2x2x = 2x) . Now plug this into bcad=93bc-ad = 93. You get (x+n)(xn)(x+m)(xm)=93m2n2=93(mn)(m+n)=93(x+n)(x-n) - (x+m)(x-m) = 93 \Rightarrow m^2 - n^2 = 93 \Rightarrow (m-n)(m+n) = 93

Since m>nm>n (as given by the condition that a),a),m+n>m-nandandmandandnareintegers,therearetwocaseswehavetoconsidersinceare integers, there are two cases we have to consider since93 = 3\cdot 31.Wefirsthavetoconsider. We first have to considerm-n = 1, m+n = 93,andthenconsider, and then considerm-n=3, m+n = 31$.

In the first case, we get m=47,n=46m=47, n=46 and in the second case we get m=17,n=14m=17, n=14. Now plug these values (in separate cases) back into a,b,c,da,b,c,d. Since the only restriction is that all numbers have to be greater than 00 or less than 500500, we can write two inequalities. Either x+47<500,x47>0x+47 < 500, x-47 > 0, or x+17<500,x17>0x+17 < 500, x-17 > 0 (using the inequalities given by dd and aa, and since bb and cc are squeezed in between dd and aa, we only have to consider these two inequalities).

This gives us either 47<x<45347 < x < 453 or 17<x<48317 < x < 483, and using simple counting, there are 405405 values for xx in the first case and 465465 values for xx in the second case, and hence our answer is 405+465=870405+465 = \boxed{870}