What is remainder if 31^102 is divided by 103
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.
31^(103-1)-1 is divisible by 103(fermat's theorem) now we can write 31^102=31^(103-1)-1+1,rem(31^102/103)=rem((31^(103-1)-1+1)/103)=1