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