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