Order of 2

Find the order of 2 modulo 101.


The answer is 100.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

Kartik Sharma
Jul 13, 2014

This problem is made to celebrate my 100 day streak which is today and which is quite a big deal for me.

Order of any number is just the smallest number for which a^n = 1 mod m and m and a are co-prime. According to Euler' theorem,

a φ ( m ) = 1 m o d m { a }^{ \varphi (m) }\quad =\quad 1\quad mod\quad m

Therefore, 2 φ ( 101 ) = 1 m o d m { 2 }^{ \varphi (101) }\quad = \quad 1\quad mod\quad m

Or, φ ( 101 ) \varphi (101) = the order of 2 modulo 101.

Hence, the answer is 100 which is totient function of 101 (if you cannot understand this, ask me in the comments(Hint: 101 is prime))

Using Euler's Theorem does not guarantee that for gcd(a, m) = 1. Consider a = 2 modulo 7. By Euler's Theorem, 2^6 is congruent to 1 modulo 7. But, the smallest exponent that satisifes the congruence is 3. Would you mind to explain why is the order 100? I solved the problem. (with the help of bashing, not believing at Euler's Theorem at first sight)

John Ashley Capellan - 6 years, 11 months ago

Log in to reply

Yes, Euler's Totient function simply shows us a multiple of the order of a a modulo n n , gcd ( a , n ) = 1 \gcd(a,n)=1 . Since gcd ( 2 , 101 ) = 1 \gcd(2,101)=1 and ϕ ( 101 ) = 100 \phi (101)=100 , we have that 100 = s k 100=sk , where s N > 0 s\in\mathbb N_{>0} is the order of 2 2 modulo 101 101 and k N > 0 k\in\mathbb N_{>0} is a quotient. Therefore, we know that the order of 2 2 modulo 100 100 is a divisor of 100 100 , and there are only 9 9 divisors of 100 100 , namely 1 , 2 , 4 , 5 , 10 , 20 , 25 , 50 , 100 1,2,4,5,10,20,25,50,100 , and finding the lowest of these that works is simple if you use a calculator (the answer is 100). Kartik's solution is incorrect.

mathh mathh - 6 years, 11 months ago

Log in to reply

Oh!!! I initially thought I was incorrect but this was the solution that came to my mind(actually my older solution was a bit like this only, but then I thought that that is going a little bit big while we are getting the answer with this method as well, so I thought this may be right).

So, yes I am really very sorry. Can you do me a favor, please? Can you please post this as a solution so that I can delete my solution? And, yes sorry to you as well @John Ashley Capellan !!!

Kartik Sharma - 6 years, 11 months ago

Log in to reply

@Kartik Sharma Well, now that you understand the actual solution, you can edit it and write it along the lines of mine.

mathh mathh - 6 years, 11 months ago

What does order of modulo mean? Your question is not clear. Which paper have you copied this from?? Could you elaborate????????/

Jayakumar Krishnan - 6 years, 11 months ago

Log in to reply

Hey, I am posting a better solution. Have a look at that one!

Kartik Sharma - 6 years, 11 months ago

By the way now, I think it's clear. If it is not, ask me once again.

Kartik Sharma - 6 years, 11 months ago
Adarsh Kumar
Jul 28, 2014

by euler's totient function we know that 2^phi(101)=1(mod101) that is, 2^100=1(mod100). But we need to make sure that there is no integer less than 100 which yields the same result. let us say that 2^x=1(mod101) where x<100 if 2^x=1(mod101) then,(2^x)^y=1(mod101) where x*y=100 so as to get the same result.Now find the factors of 100 and put them in place of x and y.You will never get 2^x=1(mod100) thus 100 is the smallest.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...