I'm working on a function $\lambda(\xi)$ that takes in input an intger $\xi$ and calculate for how many values of $x\in N$, with $0\leq x < \xi$, the ratio: $$\psi = \frac{\xi x}{\xi -x}$$ is an integer $(\psi \in N)$.
Here there is a graph of $\lambda(\xi)$ for $2\leq \xi \leq113$, created in Excel:
I have tried in a lot of diferent ways (supposing for example $\xi$ is odd and $x$ is even), but I can't faind a solution. Any idea?