Find the remainder when
is divided by 13.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Method 1: By Fermat's Little Theorem 5 1 2 ≡ 1 ( m o d 1 3 ) , so
5 9 9 = 5 1 2 ∗ 8 + 3 ≡ 5 3 ( m o d 1 3 ) ≡ ( 1 3 0 − 5 ) ( m o d 1 3 ) ≡ 8 ( m o d 1 3 ) .
Method 2: Noting that 5 2 ≡ − 1 ( m o d 1 3 ) , we then have that
5 9 8 ≡ ( − 1 ) 4 9 ( m o d 1 3 ) ≡ − 1 ( m o d 1 3 ) ⟹ 5 9 9 ≡ − 5 ( m o d 1 3 ) ≡ 8 ( m o d 1 3 ) .