Solve Modular Arithmetic Homework: 12^9 mod71

  • Thread starter Thread starter sara_87
  • Start date Start date
  • Tags Tags
    Arithmetic
sara_87
Messages
748
Reaction score
0

Homework Statement



find: 12^9 mod71

Homework Equations





The Attempt at a Solution



=12(12^8) mod71
= 12mod71 x 12^8mod71
= 12 x (12^2)^4mod 71

Now I'm stuck. My teacher solved it but i don't understand what he did so can someone explain how to do it in a very basic way.?
Thank you v much.
 
Physics news on Phys.org
12^2 mod 71=2 mod 71. So 12^8 mod 71=2^4 mod 71.
 
how come 12^2mod71=2mod71 ??
 
Because 12^2=144. 144 mod 71=2 mod 71.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top