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