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