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