Numbers and divisibility

July 24, 2023

Our two main goals for the course are the following:

  • Develop a common language to describe patterns that we see.
  • Find our own patterns, and determine their validity.

First, we discussed what kind of numbers we’ll be studying this week. We defined the natural numbers N\mathbb{N} to be {1,2,3,}\{1, 2, 3, \dots\}. Similarly, the integers Z\mathbb{Z} are {,1,0,1,2,}\{\dots, -1, 0, 1, 2, \dots\}.

So, how might one consider studying elements of N\mathbb{N} and Z\mathbb{Z}? As some of you mentioned during our meeting, one approach is to figure out how two numbers (or sets of numbers) are related to eachother. For example, we can determine how similar two numbers are by looking at their divisors.

Suppose a,bZa, b\in \mathbb{Z}. We will say that bb divides aa, written as bab\mid a, if and only if there exists another integer cc so that a=bca=bc. When this occurs, bb is called a divisor of aa.

Example. Let nZn\in \mathbb{Z}, and suppose that 6n6\mid n. Can you show that 3n3\mid n using the definition above?

A common divisor of a,bZa,b\in \mathbb{Z} is another integer cc so that cac\mid a and cbc\mid b.
The greatest common divisor of a,bZa, b \in \mathbb{Z}, written as gcd(a,b)gcd(a,b) (or just (a,b)(a,b)), is the biggest cZc\in\mathbb{Z} so that cc divides both aa and bb.
We say that a,ba,b are relatively prime or coprime if gcd(a,b)=1gcd(a,b)=1.
A natural number p>1p>1 is prime if and only if pp is not the product of natural numbers less than pp.
On the other hand, a natural number nn is composite if and only if nn is a product of natural numbers less than nn.

Example. Come up with two composite integers a,ba, b that are relatively prime.

Exercise. If a,ba,b are nonzero integers, can you find u,vZu,v\in\mathbb{Z} so that gcd(a,b)=au+bvgcd(a,b)= au + bv? Is this always true? (This is called Bezout’s identity!)

A natural number p>1p>1 is prime if and only if pp is not the product of natural numbers less than pp. On the other hand, a natural number nn is composite if and only if nn is a product of natural numbers less than nn.

During our meeting, we noticed that if nn is odd, it can be written as n=2k+1n = 2k+1 for some kZk\in \mathbb{Z}. On the other hand, if nn is even, it can be written as n=2sn = 2s. We generalized this in the following definition.

Let a,b,nZa,b,n \in \mathbb{Z}. We say that a,ba,b are congruent modulo nn if and only if nn divides (ab)(a-b). Notationally, we write this as abmod  na\equiv b \mod n.

In our meeting, we encountered the following question:

Question. What if n=0n = 0 in the above congruence?

You’re encouraged to think about what this could mean! (How would it impact our definition? What does it mean to divide by zero?)

Example. On Zoom, we wanted to find aa so that a2mod  3a\equiv 2 \mod 3. Remember, this means that when aa is divided by 3, it leaves a remainder of 2. We saw that aa could be, for example, 5. More generally, aa must have the form a=3k+2a=3k+2 for kZk\in\mathbb{Z}.

Example. Suppose we know that k2mod  7k\equiv 2\mod 7. Is it also the case that k3mod  2k\equiv 3\mod 2?


<- back