Question
Question: The remainder when $2017^{2018} + 2018^{2019} + 2019^{2020}$ is divided by 5 is...
The remainder when 20172018+20182019+20192020 is divided by 5 is

2
Solution
To find the remainder when 20172018+20182019+20192020 is divided by 5, we can use modular arithmetic. We need to find the remainder of each term when divided by 5 and then sum these remainders.
Step 1: Simplify the base of each term modulo 5.
- For the first term, 2017(mod5): The last digit of 2017 is 7. 7÷5 gives a remainder of 2. So, 2017≡2(mod5).
- For the second term, 2018(mod5): The last digit of 2018 is 8. 8÷5 gives a remainder of 3. So, 2018≡3(mod5).
- For the third term, 2019(mod5): The last digit of 2019 is 9. 9÷5 gives a remainder of 4. So, 2019≡4(mod5).
Now, the expression becomes finding the remainder of 22018+32019+42020 when divided by 5.
Step 2: Calculate the remainder for each power term.
-
For 22018(mod5): Let's look at the cycle of powers of 2 modulo 5: 21≡2(mod5)
22≡4(mod5)
23≡8≡3(mod5)
24≡16≡1(mod5)
The cycle length is 4. We need to find the remainder of the exponent 2018 when divided by 4: 2018÷4=504 with a remainder of 2. So, 22018≡22≡4(mod5).
-
For 32019(mod5): Let's look at the cycle of powers of 3 modulo 5: 31≡3(mod5)
32≡9≡4(mod5)
33≡27≡2(mod5)
34≡81≡1(mod5)
The cycle length is 4. We need to find the remainder of the exponent 2019 when divided by 4: 2019÷4=504 with a remainder of 3. So, 32019≡33≡2(mod5).
-
For 42020(mod5): We can notice that 4≡−1(mod5). So, 42020≡(−1)2020(mod5). Since 2020 is an even number, (−1)2020=1. Therefore, 42020≡1(mod5).
Step 3: Sum the individual remainders.
Now, we add the remainders found in Step 2: 20172018+20182019+20192020≡4+2+1(mod5)
4+2+1=7
Step 4: Find the remainder of the sum modulo 5.
7(mod5)
7÷5=1 with a remainder of 2.
So, 7≡2(mod5).
The remainder when 20172018+20182019+20192020 is divided by 5 is 2.