Thursday, 11 August 2016

totient function - Euler's theorem (modular arithmetic) for non-coprime integers



I am trying to calculate 10130mod48 but I need to use Euler's theorem in the process.



I noticed that 48 and 10 are not coprime so I couldn't directly apply Euler's theorem. I tried breaking it down into 5^{130}2^{130} \bmod 48 and I was sucessfully able to get rid of the 5 using Euler's theorem but now I'm stuck with 2^{130} \bmod 48. 2^{130} is still a large number and unfortunately 2 and 48 are not coprime.




Could someone lead me in the right direction regarding how would I proceed from here?


Answer



Calculate \mod 48 using the Chinese Remainder Theorem. Or, informally:
Clearly 2^{130} is divisible by 16 so modulo 48 this is one of 0, 16, 32, which one of the three it is depends on what it is modulo 3.


No comments:

Post a Comment

real analysis - How to find lim_{hrightarrow 0}frac{sin(ha)}{h}

How to find \lim_{h\rightarrow 0}\frac{\sin(ha)}{h} without lhopital rule? I know when I use lhopital I easy get $$ \lim_{h\rightarrow 0}...