Smatchcube's website 🌍


Exercise 1.27

Here is my procedure that return whether a number fool the Fermat test or not.

Testing on the examples listed in the footnote 47 works as expected.