Arithmetic mean and harmonic mean are integers

322 viewsOlympiadsAlgebra
0

The arithmetic mean of $a$ and $b$ is $\frac{a+b}{2}$ (the average). The harmonic mean of $a$ and $b$ is $\frac{2}{\frac{1}{a}+\frac{1}{b}}$ (the reciprocal of the average of the reciprocals). There is a unique positive integer $n$ such that $n$ and $5$ are distinct positive integers whose arithmetic mean and harmonic mean are both integers. Compute $n$.

Answered question
0

20e8550f9689a5f68181385eba3d905a74f2968c 93I got n=45. Here is the working.

Answered question