What is $(2018^{2019} + 2019^{2018}) \pmod{7}$?

94 Views Asked by At

The solution should be within a page and please give full explanation.

The original question is,

What is $$\left(2018^{2019} + 2019^{2018}\right) \pmod{7} ?$$

1

There are 1 best solutions below

0
On

Hint

$$2^3\equiv 1\pmod 7$$ and $$3^3\equiv -1\pmod 7$$