Maths Olympiad Prep

Library / /51 of 520

Number theory Difficulty 5.4 AIME, harder Find the answer

4. Positive integers a,b,c,da, b, c, d satisfy: 1<a<b<c<d<10001<a<b<c<d<1000, and a+d=b+ca+d=b+c, bcad=2004bc-ad=2004. Find the number of all such positive integer tuples (a,b,c,d)(a, b, c, d).

A number or a short expression. Fractions can be typed as 3/2, and spacing doesn't matter.

Solution

4. Let b=a+x,c=a+yb=a+x, c=a+y, then x<yx<y, and d=a+x+yd=a+x+y (this is obtained from a+d=b+ca+d=b+c), thus
bcad=(a+x)(a+y)a(a+x+y)=xyb c-a d=(a+x)(a+y)-a(a+x+y)=x y

That is
xy=2004x y=2004

Combining a+x+y<1000a+x+y<1000 and 2004=22×3×1672004=2^{2} \times 3 \times 167, we know that (x,y)=(3,668),(4,501),(6,334),(12,167)(x, y)=(3,668),(4,501),(6,334),(12,167).

Accordingly, 1<a<329,1<a<495,1<a<660,1<a<8211<a<329,1<a<495,1<a<660,1<a<821. Thus, the number of qualifying arrays is 327+493+658+819=2297327+493+658+819=2297 (groups).

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic and difficulty added by this site.