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