Why is the right-hand side delimiters going much further down than the depth of the denominator?
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\[
\left \lfloor \dfrac{n}{p^{i+1}} \right \rfloor =
\left \lfloor \dfrac{\left \lfloor \dfrac{n}{p^i} \right \rfloor}{p} \right \rfloor
\]
\end{document}

