TeX source:
\frac{\left \lceil \mathrm{log_{2}}(2n) \right \rceil}{2}