Journal of Formalized Reasoning (Jan 2013)

A String of Pearls: Proofs of Fermat's Little Theorem

  • Hing Lun Chan,
  • Michael Norrish

DOI
https://doi.org/10.6092/issn.1972-5787/3728
Journal volume & issue
Vol. 6, no. 1
pp. 63 – 87

Abstract

Read online

We discuss mechanised proofs of Fermat's Little Theorem in a variety of styles, focusing in particular on an elegant combinatorial ``necklace'' proof that has not been mechanised previously.What is elegant in prose turns out to be long-winded mechanically, and so we examine the effect of explicitly appealing to group theory. This has pleasant consequences both for the necklace proof, and also for some of the direct number-theoretic approaches.

Keywords