Fermat’s Little Theorem

Fermat was able to factorise large numbers, such as the above, long before the days of calculators and computers by making use of his little theorem. ¬†One could try trial division by primes less than … Continue reading Fermat’s Little Theorem