3

I have been thinking of how to answer this. The question is find the remainder of:

$$\frac {(2014^{2015}) \space (2016^{2017}) + 2018^{2019} \space}{13}$$

This is what I was thinking:

Since $ 13 \space|\space 2015 $, we know that:

$2014 \space \equiv \space -1 \space (mod \space 13)$

$2016 \space \equiv \space 1 \space (mod \space 13)$

Up to this point:

$$\frac {((-1)^{2015}) \space (1^{2017}) + 2018^{2019} \space}{13}$$

But I cant get rid of the 2018 since I cant get it to be congruent with a 1 or -1. Any hints?

2 Answers2

2

For the last part, $$a^{\phi (b)} \equiv 1 \pmod b$$

with $a, b$ coprime. We want $\pmod {13}$, and $\phi(13) = 12$ since $13$ is prime.

Thus, $2018^{2019} \equiv (2018^{12})^{168} * (2018)^3 \equiv (1)^{168} (3)^3 \equiv 1 \pmod {13}$

You can take it form here.

MT_
  • 19,603
  • 9
  • 40
  • 81
2

HINT: You have the right idea. Euler's Theorem, as rubberchicken mentioned, states the following $$ a^{\phi(q)} \equiv 1 \bmod q $$ for $a$ relatively prime to $q$. Note that $\phi(q)$ is the totient function, or the number of integers less than or equal to $q$ that are relatively prime to $q$ (for $13$ this is $12$). Thus, we get: $$ 2018^{12} \equiv 1 \bmod 13 $$

See if you can get it from there.