TeX source:
S=\left\lceil \log _{2}{\frac {P+1}{\log _{2}17}}\right\rceil