Fermat's little theorem: a historical and visual exploration
medium.com