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