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