Yesterday, nobody contributed anything. :-( The official answer is: -2 ^ (x - floor(-abs(2 / x))). fire solved the puzzle at 21:27:05.427; length: 22