Sunday, 3 April 2016

prime numbers - Why does equiv1(textmodn) seem so important?

I'm not great with math so please feel free to correct any mistakes in my question (or add more examples). I'm a software engineer and have recently wanted to better understand the maths behind RSA and Diffie Hellman. The more I learn, the more I get sucked into the wikipedia vortex, and the more this keeps coming up.



Around every corner there seems to be a theorem, formula, or technique where x1 (mod n) is of fundamental importance and I don't understand what property it has that makes it so special (compared to, say, x0 (mod n) or something similar).




For example:




  • Fermat's Little Theorem ap11 (mod p)

  • Euler's Theorem aϕ(n)1 (mod n)

  • Modular Multiplicative Inverse a x1(mod m)

  • Multiplicative Order (the smallest k where ak1 (mod n))



What's the nature of this equivalency that makes it so pervasive among modular arithmetic and primes? Why don't other equivalencies show up more often like 0 (mod n)?




Perhaps a new question altogether . . . why isn't it possible to have relative coprimes where there is no k where ak1 (mod n)?



Thanks!!

No comments:

Post a Comment

real analysis - How to find limhrightarrow0fracsin(ha)h

How to find limh0sin(ha)h without lhopital rule? I know when I use lhopital I easy get $$ \lim_{h\rightarrow 0}...