What is the unit digit of 36¹¹⁸ − 4⁶?
Only the last digit matters: 6; Unit digits of its powers repeat: 6 (cycle of 1); Unit digit = 6
Only the last digit matters: 4; Unit digits of its powers repeat: 4, 6 (cycle of 2); 6 ÷ 2 leaves remainder 0 – take the last place of the cycle; Unit digit = 6
36¹¹⁸ is far larger, so subtract unit digits, borrowing 10 if needed: (6 + 10 − 6) mod 10 = 0
Trap: 0 forgets the borrow
Pattern: unit digit of a difference of powers
Answer: 0