This is the hardest problem on Georgian (country) high school math exam.
Find all values for parameter $a$ for which the sum of all the roots of the equation:
$$\sin\left(\sqrt {ax-x^2}\right)=0 $$
equal to $100$.
Note that you can't use calculus and we assume only real roots!
We have $a>0$, and the equation reads
$$ax-x^2=k^2\pi^2.$$
By Vieta, when you add the roots in pairs, the sum is $a$.
Hence with $k\ge0$
$$(k+1)a=100$$ with $$a\ge 2k\pi$$
or
$$(k+1)a=100\ge 4(k+1)k\pi.$$
Finally,
$$a=\frac{100}{k+1}$$ with $k=0,1,2.$
Note that as $a$ is rational and $\pi$ transcendental, there is no risk of equal roots.