Find the largest natural number such that every natural number less than and coprime to is its own modular multiplicative inverse mod .
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
The modular multiplicative inverse of an integer a modulo n is an integer b so that a b ≡ 1 ( m o d n ) . If a is its own inverse, then a 2 ≡ 1 ( m o d n ) .
For this to be true for all a coprime to and less than n, λ ( n ) = 2 , where λ is the Carmichael function. 2 4 is the maximum n for which λ ( n ) = 2 is satisfied.