Yesterday, nobody contributed anything. :-(
The official answer is:
(x * floor(-2 ^ (1 / (2 * x)))) ^ 2