$6 \equiv 6 \pmod{7}$ or $6 \equiv -1 \pmod{7}$?

58 Views Asked by At

Just a quick question: Is $6 \equiv 6 \pmod{7}$ or $6 \equiv -1 \pmod{7}$?

I'm just trying to figure out whether there was an error in the answer by Jazzachi in this question.

Thanks.

1

There are 1 best solutions below

0
On BEST ANSWER

$$6 \equiv 6 \pmod{7}$$ and $$6 \equiv -1 \pmod{7}$$ are both true.

As you know the definition is $$a\equiv b\pmod {n} \iff n|(b-a)$$

For example $$35 \equiv 30 \pmod{5}$$ because $$5| 30-35$$