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