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