chalkalong

Solved problems

Find the remainder when is divided by

Watch it drawn on a whiteboard, step by step, as the tutor explains it.

Watch the lesson

Step by step solution

  1. What's the remainder when 2 to the 100th is divided by 7?

    This two to the hundredth is a giant number, far too big to write out.

    We only want what's left over when it's divided by 7: the remainder.

    Start small: 2 to the first leaves 2, and 2 squared leaves 4.

    21≡2,22≡4(mod7)2^1 \equiv 2,\quad 2^2 \equiv 4 \pmod{7}

    But 2 cubed is 8, which leaves just 1, so the remainders cycle every three powers.

    23=8≡1(mod7)2^3 = 8 \equiv 1 \pmod{7}

    Split the exponent into full cycles of three: 100 is 3 times 33, plus 1.

    100=3×33+1100 = 3 \times 33 + 1

    So 2 to the 100th is 2 cubed to the 33rd, times 2.

    2100=(23)33⋅22^{100} = (2^3)^{33} \cdot 2

    Each 2 cubed acts like 1, so we get 1 to the 33rd times 2, which is 2.

    2100≡133⋅2≡2(mod7)2^{100} \equiv 1^{33} \cdot 2 \equiv 2 \pmod{7}

    So 2 to the 100th divided by 7 leaves a remainder of 2.

Stuck on a different problem?

Take a photo of it and watch it taught on a whiteboard. You can stop and ask questions any time.

Snap your own problem, the first lesson is free