Steply

Prove 7^n - 1 is divisible by 6 by induction

Step by step, with the reason for every step · Induction · Discrete Math

Step by step

The question

Question: prove by induction that 7ⁿ − 1 is divisible by 6, for every whole number n.

7n − 1 is divisible by 6

Like dominoes: show it for n = 1, then show that k passes it on to k + 1.

1 Check n = 1

For n = 1: 6, and that is 6 × 1.

Divisible by 6: the first domino falls.

71 − 1 = 6 = 6 × 1

2 Assume it works for k

Suppose it works for k: 7ᵏ − 1 is a multiple of 6.

So it is 6 times some whole number.

Call it m.

7k − 1 = 6m
m is a whole number

Move the rest to the other side: 7ᵏ equals 6m + 1.

We will need this.

7k = 6m + 1

3 What we must show

We must show the same for k + 1: every n becomes k + 1.

= 7k + 1 − 1 is divisible by 6

Careful!

One more power means one more times the number.

It is 7 times as big, not 1 more.

Careful: not 7k + 1 = 7k + 1 ✗

4 Use the assumption

One more power: 7 times the power with k.

7k + 1 − 1 = 7 × 7k − 1
7k + 1 = 7 × 7k

Now swap in 6m + 1 for 7ᵏ.

= 7(6m + 1) − 1

Open the bracket.

= 42m + 7 − 1

Like terms together.

= 42m + 6

5 Take out 6

Every term has a 6 in it.

Take out 6: 6(7m + 1).

= 6(7m + 1)
7m + 1 is a whole number

So it works for k + 1 too.

True for n = 1, and passed on each time: true for every whole number n.

The proof is done.

divisible by 6 for n = 1, and k → k + 1: for every n. ∎

6 Check

Let's check n = 3: it gives 342.

n = 3: 73 − 1 = 342

342 is 6 times 57.

Divisible by 6.

Right!

342 = 6 × 57

Let's look back.

First: check n = 1.

Then: assume it works for k.

Then: what we must show.

Then: use the assumption.

Then: take out 6.

Last: check.

Answer
7m + 1 is a whole number

Your turn

Try this one yourself, then check:

7n − 2n is divisible by 5
Show the answer
5(2k + 7m)

More from Induction

The whole lesson: Induction →