Ivan claims that for all positive integers $n$, $$\left\lfloor\sqrt[2]{\frac{n}{1^3}}\right\rfloor + \left\lfloor\sqrt[2]{\frac{n}{2^3}}\right\rfloor + \left\lfloor\sqrt[2]{\frac{n}{3^3}}\right\rfloor + \cdots = \left\lfloor\sqrt[3]{\frac{n}{1^2}}\right\rfloor + \left\lfloor\sqrt[3]{\frac{n}{2^2}}\right\rfloor + \left\lfloor\sqrt[3]{\frac{n}{3^2}}\right\rfloor + \cdots$$Why is he correct? (Note: $\lfloor x \rfloor$ denotes the floor function.)