Skip to main content

1996 AIME Problem 8

Problem 8 of 15IntermediateNumber TheoryProbability & Statistics

The harmonic mean of two positive numbers is the reciprocal of the arithmetic mean of their reciprocals. For how many ordered pairs of positive integers (x,y),(x,y), with x<y,x<y, is the harmonic mean of xx and yy equal to 620?6^{20}?

Your answer

Integer from 0 to 999
Show solution

Solution

Let N=620.N=6^{20}. Rearranging the harmonic-mean equation gives (2x−N)(2y−N)=N2.(2x-N)(2y-N)=N^2. Because x<N<yx<N<y and N<2x,N<2x, the two factors are positive, and both must be even. Conversely, each factorization AB=N2AB=N^2 with even A<BA<B gives one valid pair via x=A+N2x=\frac{A+N}{2} and y=B+N2.y=\frac{B+N}{2}. Now N2=240340.N^2=2^{40}3^{40}. For both complementary factors to be even, the exponent of 22 in AA can be 1,…,39,1,\ldots,39, while the exponent of 33 can be 0,…,40.0,\ldots,40. This gives 39⋅41=159939\cdot41=1599 divisors A,A, including the central factor A=N.A=N. Pairing complementary divisors and excluding that central case gives 1599−12=799.\frac{1599-1}{2}=799.
AoPS wiki

Tagged: harmonic mean · factor counting · prime factorization

More practice