x^4 when divided by 6, will provide as reminder (here x is prime number)