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