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