Skip to content

Divisibility

Divisibility

What divisible means

A whole number a\displaystyle a is divisible by 6 if a=6m\displaystyle {a}={6m} for a whole number m\displaystyle m.

  • The sum of two numbers divisible by 6 is divisible by 6: 6m+6p=6(m+p)\displaystyle {6m+6p}={6(m+p)}.
  • A number divisible by 6 times a whole number is divisible by 6.
A proof: 7n−1\displaystyle 7^n-1 is divisible by 6

71−1=6\displaystyle {7^1-1}={6}, 72−1=48\displaystyle {7^2-1}={48}, 73−1=342=6⋅57\displaystyle {7^3-1}={342}={6\cdot57}. The proof below proves by induction that 7n−1\displaystyle 7^n-1 is divisible by 6 for every natural n\displaystyle n. In the step we write 7k+1−1\displaystyle 7^{k+1}-1 with 7k−1\displaystyle 7^k-1:

ClaimReason
171−1=6\displaystyle {7^1-1}={6} is divisible by 6Base case
27k−1=6m\displaystyle {7^k-1}={6m}, m\displaystyle m wholeThe induction hypothesis
3To prove: 7k+1−1\displaystyle 7^{k+1}-1 is divisible by 6The claim for k+1\displaystyle k+1
47k+1−1=7⋅7k−1=7(7k−1)+6\displaystyle {7^{k+1}-1}={7\cdot7^k-1}={7(7^k-1)+6}The laws of powers; 7⋅(−1)+6=−1\displaystyle {7\cdot(-1)+6}={-1}
57(7k−1)+6=7⋅6m+6=6(7m+1)\displaystyle {7(7^k-1)+6}={7\cdot6m+6}={6(7m+1)}By the induction hypothesis (2); 7m+1\displaystyle 7m+1 is whole, and (3) is proved
67n−1\displaystyle 7^n-1 is divisible by 6 for every natural n\displaystyle nConclusion: the principle of induction
A second way

The same claim without induction, from the sum of a geometric sequence (a1=1\displaystyle {a_1}={1}, q=7\displaystyle {q}={7}):

1+7+72+…+7n−1=7n−17−11+7+7^2+\ldots+7^{n-1}=\frac{7^n-1}{7-1}

So 7n−1=6⋅(1+7+…+7n−1)\displaystyle {7^n-1}={6\cdot(1+7+\ldots+7^{n-1})}, and the sum in brackets is whole. Induction is one way to prove; sometimes there are others.

Example: n3+2n\displaystyle n^3+2n is divisible by 3
  • Base case: 1+2=3\displaystyle {1+2}={3}.
  • Inductive step: assume that k3+2k=3m\displaystyle {k^3+2k}={3m}. Then
(k+1)3+2(k+1)=k3+3k2+3k+1+2k+2=(k3+2k)+3(k2+k+1)=3m+3(k2+k+1)=3(m+k2+k+1)(k+1)^3+2(k+1)=k^3+3k^2+3k+1+2k+2=(k^3+2k)+3(k^2+k+1)=3m+3(k^2+k+1)=3(m+k^2+k+1)
  • Conclusion: by the principle of induction, n3+2n\displaystyle n^3+2n is divisible by 3 for every natural n\displaystyle n.

The idea of the step: find inside the expression for k+1\displaystyle k+1 the expression for k\displaystyle k, and show that what is left is divisible by itself.

Exercise 1

Prove by induction that 5n−1\displaystyle 5^n-1 is divisible by 4 for every natural n\displaystyle n.

Base case
Inductive step

Write 5k+1−1\displaystyle 5^{k+1}-1 with 5k−1\displaystyle 5^k-1:

    / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

    / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

    What follows from the last line, and what is the conclusion?

    Exercise 2

    Prove by induction that 4n+2\displaystyle 4^n+2 is divisible by 3 for every natural n\displaystyle n.

    Base case
    Inductive step

    Write 4k+1+2\displaystyle 4^{k+1}+2 with 4k+2\displaystyle 4^k+2:

      / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

      / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

      Exercise 3

      Prove by induction that 11n−4n\displaystyle 11^n-4^n is divisible by 7 for every natural n\displaystyle n. (A hint: 11k+1=11⋅11k\displaystyle {11^{k+1}}={11\cdot11^k}, and 4k+1=11⋅4k−7⋅4k\displaystyle {4^{k+1}}={11\cdot4^k-7\cdot4^k}.)

      Inductive step

        / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

        / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

        Exercise 4

        A sequence is defined by the recursion rule a1=6\displaystyle {a_1}={6}, an+1=an+2n3+3n2+n\displaystyle {a_{n+1}}={a_n+2n^3+3n^2+n}.
        Prove that every term of the sequence is divisible by 6.

        a

        Factorise 2k3+3k2+k\displaystyle 2k^3+3k^2+k, and show – with the formula for the sum of the squares – that it is divisible by 6.

          / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

          / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

          b

          Write the proof by induction.