Show that no cube of an integer can be expressed as $7n + 5$ for some positive integer $n$
This is from Riley's "Mathematical methods for Physics and Engineering", and is question 1.28 b, from the section "proof by induction and contradiction"
Attempt: have formed the equation $$ x^3 = 7n + 5$$ and rearranged to get $$ \frac{x^3 - 5}{7} = n $$
so I have the condition that $x^3 - 5$ must be divisible by $7$, for $n$ to be an integer.