1 Divisibility
Let and be integers with . Then divides if there exists an integer such that
1.1 Theorem
1.2 Corollary
If , , are integers where , such that and , then whenever and are integers
2 Euclid’s Division Theorem
For any , , there exist unique integers and , with , such that
| dividend | |
| divisor | |
| quotient | |
| remainder |
3 Greatest Common Divisor
4 Chinese Remainder Theorem
Solving system of linear congerence
4.1 Non co-prime basis
Cite
5 Fermet’s Little Theorem
6 RSA
The setup of RSA is as follows, where 5 is the encryption step and 6 is the decryption step, note that is the public key and is the private key
- Choose and which are prime number (> 150 digits)
- and
- Choose such that