So I fully understand the how the RSA algorithm works, but now I am trying to reason with the formula. I want to know: why the public key e and the private key d in the RSA encryption have  to satisfy the equation ed = 1 mod (p  1)(q  1)?Is it because of the standard modular arithmetic rule where 1 mod anything is 1, or is there a more to this answer?
RSA encryption why does ed=1?
algorithms;complexity theory;cryptography