Fermat Theorem : Application in finding remainders Fermat theorem states that for any two positive natural numbers N and P, if they are co-prime to each other then remainder obtained when \({N^{\phi Read More »