mathlesstraveled.com
Fermat witnesses and liars (some words on PWW #24)
Let $latex n$ be a positive integer we want to test for primality, and suppose $latex a$ is some other positive integer with $latex a < n$. There are then four possibilities: $latex a$ and $late…