<div>References:&nbsp;<br></div><div><a href="http://mathworld.wolfram.com/FermatsLittleTheorem.html">http://mathworld.wolfram.com/FermatsLittleTheorem.html</a><br></div><div><a href="https://primes.utm.edu/notes/proofs/FermatsLittleTheorem.html">https://primes.utm.edu/notes/proofs/FermatsLittleTheorem.html</a><br></div><div><a href="https://www.math.hmc.edu/funfacts/ffiles/10007.5.shtml">https://www.math.hmc.edu/funfacts/ffiles/10007.5.shtml</a><br></div><div><a href="http://www.pballew.net/FermLit.html">http://www.pballew.net/FermLit.html</a><br></div><div><a href="http://mathworld.wolfram.com/FermatPseudoprime.html">http://mathworld.wolfram.com/FermatPseudoprime.html</a><br></div>