Yesterday, nobody contributed anything. :-( The official answer is: abs(sin(abs(floor(x)))).