Artificial intelligent assistant

How is the number of possible pyramidal numbers calculated? A pyramidal number is defined as $(m^3 - m)/{6}$ for all $m\geq2$. Skiena, in "The Algorithm Design Manual", states that the number of possible pyramidal numbers from $1$ to $n$ is Big Theta of $n^\frac{1}{3}$. How does Skiena calculate this number?

Firstly, $\frac {m^3-m}6 \in \Theta(m^3)$, because $\Theta$ is loose enough to ignore the constant multiplier and a small $-m$ term.

Secondly, the number of pyramid numbers under $n$ is equal to the largest $m$ such that $\frac{m^3-m} 6 < n$. The exact form is unpleasant to solve, but to get an estimate we can easily solve $m^3 < n$ which gives $m < n^{1 \over 3}$.

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy b380571953c618d990494dca0a06627a