問題,1000を13で割った余りを求めよ


解
1000≡a(mod13)

∴1000=13k+a


つまり10の3乗≡?(mod13)

10≡-3(mod13)
から↓になる解き方を教えてください


10の2乗≡-3の2乗≡9≡-4(mod13)

10の3乗≡12(mod13)