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