Fermat’s Minimal Theorem states that if ppp is a main number and aaa can be an integer not divisible by ppp, then apaa^p aapa (aaa to the power ppp) is congruent to aaa modulo ppp. Basically, if we divide a… Read More