0

I need help with the following question regarding modular arithmetic.

"A seating plan consists of 7 chairs in a circle. If I am currently sat in chair 3, what chair will I be in $3^{453}$ steps later?

Assume that for each step, you move one chair forward in the anticlockwise direction and the chairs are numbered from 1 to 7."

Obviously, the number of steps is too large to be computed, so I assume there must be a trick to do this?

Thanks!

Paul H
  • 13
  • 5

2 Answers2

0

Hint:

$$3^3\equiv-1\pmod7$$

$(3^3)^{2n+1}\equiv(-1)^{2n+1}=?$

Here $3(2n+1)=453$

0

Let's write all the steps down if you want to use modular arithmetic for it.

First you need to test out what happens if you would go 3 steps further in the process and look at the remainder if you would divide it by 7 then you repeat the process from there on till you remark a sequence of all $3^n \pmod 7$ is repeating.

At last you'll try to go through which remainder corresponds with the 453 as the power of 3 $\pmod 7$ then you have the number of steps you will be seated in the seating plan.

Anonymous196
  • 1,385