PROJECT EULER · #0451
Modular Inverses
Consider the number
There are eight positive numbers less than
The modular inverses of these numbers modulo
because
Let
So
Also
Find
Write-up coming later
The complete problem is available here. An approach, code, and answer will be added later.