Can an integer that is $3\pmod 7$ be expressed as a sum of two cubes?

518 Views Asked by At

I was going back through my past exams in a Discrete Mathematics Course and came across this problem which I failed to solve- Does there exist $x$ and $y$ s.t $x^3+y^3 \equiv 3\pmod 7$? Give a convincing proof of your assertion.

I went through some examples and couldn't find any such $x$ and $y$. My attempt was that of considering parity. For an integer which is $3\pmod 7$, it can be either even or odd. If it is even then either $x$ and $y$ must be even or $x$ and $y$ must be odd. Considering the even case, we get that $8a^3+8b^3 \equiv 3\pmod 7$. But This expression is always even and I wasn't really sure where to go from here. I feel like considering parity would be the right approach but I did similar things considering odds and other cases and couldn't gain any traction.

Any help would be appreciated.

5

There are 5 best solutions below

0
On BEST ANSWER

Hint: Use Fermat little theorem:

If $7\nmid x$ then $$ x^6\equiv 1 \pmod 7 $$ and so $$ x^3\equiv \pm 1 \pmod 7 $$

0
On

The answer is no. For every integer $z$, $z^3 \mod 7=0,1,-1$. The sum of any two of these is not $3 \mod 7$.

0
On

Note that $x^3\equiv0,\pm1\bmod7$ for any $x\in\mathbb Z$. So, $x^3+y^3=0,\pm1,\pm2\bmod7$, and hence, this is not possible.

0
On

Slightly more generally, you can check every combination of two numbers and see whether they satisfy the equation. Because you're dealing with $\mathbb Z_7$, there are only $7^2=49$ different such combinations, so it's rather easy, especially with a computer, to rule out all the possibilities with brute force.

0
On

Let's identify integers as $7n, 7n+1$ and so on. Since you only need to know the constants since the other are multiples of $7$, the constants will be cubes of $0$ to $6$. If I find the remainder from dividing by $7$, it'll be $1, 1, 6, 1, 6, 6$ which can't be added to $7n+3$ so it's impossible.