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