The below question was given in my workbook for number theory. I have seen the solution, and it utilizes $\mod 7$, but I am unsure of why $\mod 7$ was chosen to solve the problem. Would any number of alternatives suited the problem?
Prove that the equation $x^3 + 10000 = y^3$ has no solutions.
I think the main question is "Why choose $\pmod 7$?"
Well, first of all, $7 \nmid 10000$ -- in particular, $10000 \equiv 4 \pmod 7$. If we looked at $\pmod 5$, it would be useless because we can have $x, y$ be multiples of $5$ and our method would not work.
Second of all, $7 = 2^3 - 1$. Thus, we have $(2n)^3 \equiv n^3 \pmod 7$ and for $n \in \{1, 2, 3\}$ the residue is either $-1$ or $1$. Thus, we can also say for odd numbers that $(7 - 2n)^3 \equiv (-2n)^3 \equiv -n^3 \pmod 7$, so that's an explanation of why the solution chose $7$ (it can only take on residues of $-1, 0, 1 \pmod 7$)
Now, it is clear that adding $-1, 0,$ or $1$ to $4$ can never result in $-1, 0,$ or $1 \pmod 7$