Theorem Euclid

NOTE

For all integers and there exist unique integers and satisfying

  • is the dividend
  • is the divisor
  • is the quotient
  • is the remainder

or the remainder is denoted as

For with or is a g.g.T. an element with is the unique positive g.g.T. from and

NOTE

Ideal

Definition

Lemma 4.3

For , and are not both 0, then Proof:

Ideal-generator.excalidraw

⚠ Switch to EXCALIDRAW VIEW in the MORE OPTIONS menu of this document. ⚠ You can decompress Drawing data with the command palette: ‘Decompress current Excalidraw file’. For more info check in plugin settings under ‘Saving’

Excalidraw Data

Text Elements

0

a

b

a

b

Link to original
Sei so, dass oder , und das kleinste positive Element in . Dann und (wenn z. B. )

  • for all with and

  • finish the proof

Corollary 4.5

NOTE

For , there exist such that

Theorem 4.6 prime factorization

Every positive integer can be written uniquely (up to the order in which factors are listed) as the product of primes.

Example

left side is always even, right is always odd The equation hat no solution in left side divisible by 3, the right side cannot be divisible by 3

Modular Arithmetic

Define

Example

Multiplicative Inverses

The equation has a solution if and only if . The solution is unique

This unique solution is called the multiplicative inverse of modulo

Example

because

CRT

Chinese Remainder Theorem (CRT)

Generally

NOTE

Let be pairwise relatively prime integers and let . For every list with for , the system of congruence equations

has a unique solution satisfying

Case: r=2

NOTE

Let ​ and ​ be two positive integers that are coprime (). Then for any pair of residues ​ and ​, the system

has a unique solution modulo .

A simple constructive example

Find the modular inverse: Switch the parts together: ( the number of equations)

Link to original