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 with is the harmonic mean of and equal to
Your answer
Integer from 0 to 999
Show solution
Solution
Let Rearranging the harmonic-mean equation gives Because and the two factors are positive, and both must be even. Conversely, each factorization with even gives one valid pair via and
Now For both complementary factors to be even, the exponent of in can be while the exponent of can be This gives divisors including the central factor Pairing complementary divisors and excluding that central case gives
Tagged: harmonic mean · factor counting · prime factorization