MathDB
very beautiful number theory

Source: Moldova TST 2019

March 10, 2019
number theory

Problem Statement

For any positive integer kk denote by S(k)S(k) the number of solutions (x,y)Z+×Z+(x,y)\in \mathbb{Z}_+ \times \mathbb{Z}_+ of the system {xdyxd=(y+1)2xy=k,\begin{cases} \left\lceil\frac{x\cdot d}{y}\right\rceil\cdot \frac{x}{d}=\left\lceil\left(\sqrt{y}+1\right)^2\right\rceil \\ \mid x-y\mid =k , \end{cases} where dd is the greatest common divisor of positive integers xx and y.y. Determine S(k)S(k) as a function of kk. (Here z\lceil z\rceil denotes the smalles integer number which is bigger or equal than z.z.)