What is the remainder obtained when 347−2 is divided by 47?
0
1
2
47
According to Fermat’s Little Theorem ap−a is a multiple of p, when p is a prime number and a can be any integer. So the remainder in this case is 1.
What is the remainder obtained when 96! is divided by 97 ?
What is the remainder obtained when 22008 is divided by 7?