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