Task B-1.6. How many ordered pairs of integers $x, y, 0<x<y<10^{6}$ are there such that their arithmetic mean is exactly 8 greater than their geometric mean? (The geometric mean of numbers $a$ and $b$ is the number $\sqrt{a \cdot b}$.)