簡単なやり方を教えてください!(ˊ•̤ ₋ •̤ˋ)
20≡-1(mod7) を使えば 20^2016≡(-1)^2016=1 となり余り1です
Users viewing this question are also looking at these questions 😉