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