MathDB
How many integers does it take to screw in a cube?

Source: 2017 AIME I #13

March 8, 2017
2017 AIME I

Problem Statement

For every m2m \geq 2, let Q(m)Q(m) be the least positive integer with the following property: For every nQ(m)n \geq Q(m), there is always a perfect cube k3k^3 in the range n<k3mnn < k^3 \leq m \cdot n. Find the remainder when m=22017Q(m) \sum_{m = 2}^{2017} Q(m) is divided by 1000.