Suppose $0<x<y<2015$ are integers. How many pairs of $x$ and $y$ are there for which the arithmetic mean exceeds the geometric mean exactly by $2$?
Progress
Obtained the equation $(x+y)=2[(xy)^{1/2}+2]$; how to solve it?
Suppose $0<x<y<2015$ are integers. How many pairs of $x$ and $y$ are there for which the arithmetic mean exceeds the geometric mean exactly by $2$?
Obtained the equation $(x+y)=2[(xy)^{1/2}+2]$; how to solve it?
$$\frac{x+y}{2} \ge \sqrt{xy} + 2$$ $$x+y-2\sqrt{xy} \ge 4$$ $$(\sqrt{x}-\sqrt{y})^2 \ge 4$$ $\sqrt{x}-\sqrt{y} \ge 2 $ or $\sqrt{x}-\sqrt{y} \le -2$