Pranav-Arora said:
Sorry! But i don't know about Fermat's little theorem or Euler's theorem.

And yes, it may be from the IIT previous year question papers because most of the time my teacher try to make us solve IIT paper like questions.
Well, I don't know what is expected from you here.
Or whether you should know about these theorems already.
Typically it would be first year university mathematics material (algebra).
Actually there is an alternate way to do this for which you do not need to know these theorems. It's just more work.
If we take for instance 4
3 and divide it by 10, we can also take the remainder of 4
2 divided by 10, multiply it by 4 and take the remainder again.
The remainder of 4
2=16 is 6, multiplied by 4 is 24, and the remainder of 24 is 4.
Pranav-Arora said:
It would be much appreciated if you explain me the notation.
a \equiv b \mod c is about the remainders in divisions.
For instance 10 \equiv 1 \mod 3 means that if you divide 10 by 3, the remainder is 1.
And it is actually more generic, because you can also say 10 \equiv 4 \mod 3, mearning that the remainders of 10 resp. 4 when divided by 3 are the same.
I guess I shouldn't explain the theorems as they are probably out of scope for your current class material.
Still, if you're interested, here goes:
Wiki also states Fermat's little theorem without this notation: "Fermat's little theorem states that if p is a prime number, then for any integer a, a
p − a will be evenly divisible by p. "
101 is a prime, meaning that it is only divisible by 1 and by itself.
Since 101 is a prime, this means that 4
101 - 4 divided by 101 has remainder 0.