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