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