RMO 2015! #3

Find the remainder when 2 1990 2^{1990} is divided by 1990 1990


The answer is 1024.

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

Otto Bretscher
Sep 21, 2015

Using Fermat's little theorem for p = 199 p=199 and for p = 5 p=5 , we find that 2 1990 = 2 198 10 + 10 2 10 ( m o d 199 ) 2^{1990}=2^{198*10+10}\equiv{2^{10}}\pmod{199} and 2 1990 = 2 4 495 + 10 2 10 ( m o d 5 ) . 2^{1990}=2^{4*495+10}\equiv{2^{10}}\pmod{5}. Trivially, 2 1990 2 10 ( m o d 2 ) . 2^{1990}\equiv{2^{10}}\pmod2. Thus 2 1990 2 10 = 1024 ( m o d 1990 ) 2^{1990}\equiv{2^{10}}=\boxed{1024}\pmod{1990} .

pleasedo explain fermats little theorm to me with proof.please sir

Kaustubh Miglani - 5 years, 8 months ago

Log in to reply

Fermat's little theorem states that a p 1 1 ( m o d p ) a^{p-1}\equiv{1}\pmod{p} when p p is a prime that does not divide a a .

There are several short and easy proofs. The congruency classes of a , 2 a , 3 a , . . . ( p 1 ) a a,2a,3a,...(p-1)a are those of 1 , 2 , 3 , . . . , p 1 1,2,3,...,p-1 , so, taking the product in each case, we see that a p 1 ( p 1 ) ! ( p 1 ) ! ( m o d p ) . a^{p-1}(p-1)!\equiv(p-1)!\pmod{p}. Division by ( p 1 ) ! (p-1)! gives our theorem.

Otto Bretscher - 5 years, 8 months ago

Log in to reply

could not understand the proof .but thanks for explaining it

Kaustubh Miglani - 5 years, 8 months ago

Log in to reply

@Kaustubh Miglani The key point of the proof is this: If m m and n n are any two distinct integers between 1 and p 1 p-1 , then the prime number p p does not divide m a n a = ( m n ) a ma-na=(m-n)a since p p divides neither m n m-n nor a a . Thus the numbers a , 2 a , . . . , ( p 1 ) a a,2a,...,(p-1)a occupy all the congruency classes 1 , . . . , p 1 ( m o d p ) 1,...,p-1 \pmod{p} .

Otto Bretscher - 5 years, 8 months ago

Log in to reply

@Otto Bretscher got it thanks

Kaustubh Miglani - 5 years, 8 months ago

please do explain fermats little theorm to me with proof.please sir

Kaustubh Miglani - 5 years, 8 months ago

is it necessary that if x is divided bya b c and leaves the same remainder when divided by a,b and c then the remainder would be same if x is divided by abc

Kaustubh Miglani - 5 years, 8 months ago

Hi sir, please explain 2^1990 mod 2 = 2^10. Is it 2^1990 mod 2 equal to zero?

Vincent Miller Moral - 5 years, 8 months ago

Log in to reply

I'm just expressing the trivial fact that 2 1990 2 10 2^{1990}-2^{10} is divisible by 2.

Otto Bretscher - 5 years, 8 months ago

Log in to reply

Thanks. Now I get it.

Vincent Miller Moral - 5 years, 8 months ago
Pranjal Mittal
Nov 29, 2015

Or we can apply chinese remainder theorm after reducing 1990 to 995 and breaking 995 to 5 and 199. Then solving individually using Euler's Totient function, and multipling the remainder by 2 ( since we earlier cancelled 2) we will get 1024.

Hello Pranjal,

How was your RMO 2015? What score you expect?

Priyanshu Mishra - 5 years, 6 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...