Steply

Calculate 3^50 mod 11

Step by step, with the reason for every step · Powers mod n, last digits · Discrete Math

Step by step

The question

Question: find 3⁵⁰ mod 11.

350 mod 11

3 to the power 50 has 24 digits.

Too big to work out by hand.

350 has 24 digits!

1 Small powers first

Let's make a table of small powers.

Each one is the one before times 3.

We only keep the remainder: the big part never matters.

only the remainder matters

3 to the 1 is 3.

3
3

Then 3 times 3 is 9.

3 × 3 = 9

9 mod 11 is 9.

And so on.

9
9 × 3 = 27
5
5 × 3 = 15
4
4 × 3 = 12
1
1 × 3 = 3
3

2 Find the pattern

At k = 6 we are back to 3.

From here everything repeats.

So the pattern 3, 9, 5, 4, 1 repeats every 5 powers.

repeats every 5: 3, 9, 5, 4, 1, 3, 9, 5, 4, 1, ...

3 Where 50 lands

50 divided by 5: 10 full patterns, and 0 left over.

50 = 5 × 10 + 0

Careful!

Nothing left over means we end at the end of a pattern: the same place as k = 5.

Careful: not k = 0 ✗

So 3 to the 50 is like k = 5: the last one of the pattern.

So 3⁵⁰ mod 11 is 1.

350 mod 11 = 1

4 Check

A computer can work out all 24 digits: 717897, and so on, 0249.

computer: 350 = 717897...0249

Divided by 11, it leaves 1, the same as our pattern.

Right!

÷ 11: remainder 1

Let's look back.

First: small powers first.

Then: find the pattern.

Then: where 50 lands.

Last: check.

Answer
350 mod 11 = 1

Your turn

Try this one yourself, then check:

920 mod 11
Show the answer
9²⁰ mod 11 = 1

More from Powers mod n, last digits

The whole lesson: Powers mod n, last digits →