Number Theory

HomeTable of Contents

The Integers

The integers are the chief concern of number theory. For the next several sections, we will discuss properties of the integers.

Integer Division

Theorem. For integers a{a} and b0,{b \neq 0,} there exist unique integers q{q} and r{r} such that

a=qb+r a = qb + r

with 0rb1.{0 \leq r \leq \vert b \vert - 1.} We denote r{r} with the expression a rem b{a~\text{rem}~b} and q{q} with the expression a div b.{a ~ \text{div} ~ b.}

In the theorem above, we call q{q} the quotient and r{r} the remainder. When r=0,{r = 0,} there exists a special relation between a{a} and b.{b.} Namely, that b{b} is a divisor of a{a} (i.e., b{b} divides a{a}). We define this relation explicitly:

Definition. Let a{a} and b{b} be integers, with b0.{b \neq 0.} We say that b{b} divides a{a} if there is an integer q{q} such that a=qb.{a = q \cdot b.} If b{b} divides a,{a,} we write b  a.{b~\vert~a.} If b{b} does not divide a,{a,} we write b∤  a.{b \not\vert ~~ a.}

Extending this definition, an integer that divides both a{a} and b{b} is called a common divisor or common factor of a{a} and b.{b.}

Definition. Given integers a,{a,} b,{b,} and c,{c,} we say that c{c} is a common divisor of a{a} and b{b} if, and only if, c  a{c ~ \vert ~ a} and c  b.{c ~ \vert ~ b.}