Yesterday, nobody contributed anything. :-( The official answer is: 2 ^ abs(-sqrt(2 * x) - 2).