Skip to main content

Section 4.3 Divisibility

In this section we introduce the idea of divisibility for integers. It is important to understand that this concept involves only integers and is not the same thing as division. Divisibility is a property while division is an operation.

Definition 4.3.1.

Let n,dZ. Then n is divisible by d if n=dk for some kZ.
If n=dk for some kZ we can also say
  • n is a multiple of d;
  • d is a factor of n;
  • d is a divisor of n;
  • d divides n.
We use the notation dn, read “d divides n.
Warning: dn is a relationship between two integers. It is a statement that is either true or false. It does not equal a number. It is not the same thing as a fraction. It is not an equation, but it can be translated to the equation n=dk for some integer k.
It is important to look at the special case when n or d is 0.
  • 0n is always false.
  • d0 is true if d0.
  • Thus, 00 is false, even though, technically, one could write 0=0k.

Example 4.3.2. Finding Divisors.

Find the divisors of 6.
Answer 1.
Find the divisors of 5.
Answer 2.
Find the divisors of 1.
Answer 3.
If d does not divide n, then for every kZ,ndk. This can be difficult to show in general, but if n and d are specific integers, you could show nd is not an integer. This is the only time a fraction can show up in proofs about divibilty.
We use the notation dn for d does not divide n.

Example 4.3.3. Determining Divisibility.

True or false: 824.
Answer 1.
24=8(3).
True or false: 84.
Answer 2.
4=8(k)k=1/2.
True or false: 810.
Answer 3.
10=8(k)k=5/4.
True or false: 88.
Answer 4.
8=8(1).
True or false: 28.
Answer 5.
8=2(4).
True or false: 14.
Answer 6.
4=1(4).
True or false: 80.
Answer 7.
0=8(0).
True or false: 41.
Answer 8.
1=4(k)k=1/4.
True or false: 08.
Answer 9.
8=0(k)

Activity 4.3.1.

Determine if the following divisibility statements are true or false, and justify your answer.
Now, let’s use the definition of divisibility to prove a more general theorem.

Proof.

Let a,b,cZ. Assume ab and bc. Then by definition, b=ak for some kZ and c=bj for some jZ. Substituting the first equation into the second, c=(ak)j=a(kj). Since kjZ, ac.

Activity 4.3.2.

Prove if 15 divides n, then 5 divides n.

Activity 4.3.3.

Prove or disprove if 6 divides n, then 12 divides n.

Activity 4.3.4.

Prove if dn and dm, then d(n+m).
Now that we have the concept of divisibility, we can look at some bigger mathematical theorems involving divisibility by primes.

Proof.

We will divide this proof into two cases, where n is prime and where n is composite.
Case 1: n is prime. We can see that nn. Since is prime, n is divisible by a prime.
Case 2: n is composite. Then n=r0s0 where 1<r0<n, and r0,s0Z. If r0 is prime, then n is divisible by a prime.
If r0 is not prime, then r0=r1s1 where 1<r1<r0, and r1,s1Z. If r1 is prime, then n=r1s1s0 and n is divisible by a prime.
Similarly, if r1 is not prime, then r1=r2s2 where 1<r2<r1<r0, and r2,s2Z, etc.
We can keep applying this process to get n=rksks0 with 1<rk<<r1<r0, and rk,skZ.
If at any point rk is prime, then we are done, as we have found a prime divisor of n. We know that there cannot be infinitely many non-prime rk since there are only finitely many integers between 1 and n. Thus, the process must terminate with a prime divisor of n. Hence, every integer is divisible by a prime.
We now state a big theorem in discrete mathematics, but leave the proof for later. This theorem is more commonly called the Fundamental Theorem of Arthmetic.
The decomposition into powers of primes, n=p1e1p2e2pkek, is called the standard form of the prime factorization.

Definition 4.3.7.

Let n be an integer n1. Then the factorial of n is given by n!=(n)(n1)(n2)(2)(1).
For example, 5!=5(4)(3)(2)(1)=120.

Example 4.3.8. Prime Factorization.

Find the prime factorization of 252 in standard form.
Answer 1.
252=(22)(32)(7).
Find the prime factorization of 17 in standard form.
Answer 2.
17,
Find the prime factorization of 195 in standard form.
Answer 3.
195=(3)(5)(13).
Find the prime factorization of 8! in standard form.
Answer 4.
8!=(8)(7)(6)(5)(4)(3)(2)(1)=(23)(7)(23)(5)(22)(3)(2)=(27)(33)(5)(7).

Activity 4.3.5.

Give the prime factorization of 600 in standard form.

Activity 4.3.6.

Give the prime factorization of 9! (9 factorial). Is 10 a factor of 9!? Is 102?
Theorem 4.3.6 is more powerful than it may seem. Although you have probably found prime factorizations before, you may not have thought much about the fact that they are unique. Consider the statement 32101. Is this true or false? Well, since 2101 is a prime factorization, the only prime divisor it has is 2. Thus, 32101 is false. If you have the prime factorization of an integer, then you know exactly which primes (and which powers of primes) divide the integer.

Activity 4.3.7.

Determine if the following are true or false. Give a reason for your answer.

Reading Questions Check Your Understanding

1.

    True or false: 624.
  • True.

  • False.

2.

    True or false: 19.
  • True.

  • False.

3.

    True or false: 09.
  • True.

  • False.

4.

    True or false: 63.
  • True.

  • False.

5.

    True or false: 66.
  • True.

  • False.

6.

    True or false: 630.
  • True.

  • False.

7.

    True or false: 60.
  • True.

  • False.

8.

    True or false: 621.
  • True.

  • False.

9.

    True or false: 5356.
  • True.

  • False.

10.

    True or false: 63102559.
  • True.

  • False.

11.

Give the prime factorization for 7!.

12.

    True or false: 107!.
  • True.

  • False.

13.

    True or false: 1007!.
  • True.

  • 100=2252, so 7! would need a factor of 52.
  • False.

  • 100=2252, so 7! would need a factor of 52.

Exercises Exercises

1.

Determine if the following statements are true or false. Justify your answer.
  1. 50
  2. 3 is a factor of 66
  3. 1373

2.

Let nZ. Determine if the following statements are true or false. Justify your answer.
  1. 3 divides (3n+1)(3n+2)(3n+3).
  2. 6n(2n+10) is divisible by 4.
  3. 100 divides (5n)2(8n+24).

3.

Show that the following statement is false: For all integers a and b, if 3(a+b) then 3(ab).

4.

Recall that the standard factored form of an integer is a product of powers of a prime, as in Theorem 4.3.6.
  1. Write 6! in standard factored form.
  2. Write 20! in standard factored form.
  3. Without computing the value of (20!)2 determine how many zeros are at the end of this number when written in decimal form. Justify your answer.
Hint.
For (c), What prime factors correspond to zeros at the end of a number?

5.

Prove, using the definition of divisibility, for all integers a, b, and c, if ab and ac then a(b+c).

6.

Prove or disprove: The product of any two even integers is a multiple of 4.

7.

Prove or disprove: For all integers a, b, and c, if abc then ac and bc.

8.

Prove or disprove: For all integers a, b, and c, if abc then ab or ac.

9.

Prove or disprove: For all integers a, b, and c, if a is a factor of c then ab is a factor of c.
You have attempted 1 of 14 activities on this page.