Find the remainder when 2 1 9 9 0 is divided by 1 9 9 0 .
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.
Nice solution!
Maybe this is an overkill and possibly I could shorten my solution so pls comment if you have any suggestions! :D
Solution:
Since 1 9 9 0 = 2 ( 5 ) ( 1 9 9 ) we will look split the question into smaller mods and then apply Chinese Remainder Theorem. Clearly, 2 1 9 9 9 ≡ 0 ( m o d 2 ) .
Since 2 4 ≡ 1 ( m o d 5 ) , we know 2 1 9 9 0 ≡ 2 2 ( m o d 5 ) ≡ 4 ( m o d 5 )
Now, calculating 2 1 9 9 0 ≡ ( m o d 1 9 9 ) can be tough. In order to do that, we will use Euler's Theorem. Since 1 9 9 is a prime, φ ( 1 9 9 ) = 1 9 9 − 1 = 1 9 8 .
Therefore,
2
1
9
8
≡
1
(
m
o
d
1
9
9
)
2
1
9
8
0
≡
1
(
m
o
d
1
9
9
)
2
1
9
9
0
≡
2
1
0
(
m
o
d
1
9
9
)
≡
2
9
(
m
o
d
1
9
9
)
Now, let X = 2 1 9 9 0 ( m o d 1 9 9 0 ) . Then, since X ≡ 2 9 ( m o d 1 9 9 5 ) and X ≡ 4 m o d 5 , we have X ≡ 2 9 ( m o d 9 9 5 ) by Chinese Remainder Theorem. Since X ≡ 0 ( m o d 2 ) , we know by Chinese Remainder Theorem X ≡ 1 0 2 4 ( m o d 1 9 9 0 ) so X = 1 0 2 4 . Hence, 2 1 9 9 0 ≡ 1 0 2 4 ( m o d 1 9 9 0 ) .
That is how I did it also.
Let N = 2^1990 Here, 1990 can be written as the product of two co-prime factors as 199 and 10. Let R1 ≡ MOD(21990, 199) According the the Fermet’s Theorem, MOD(ap, p) ≡ a . ∴ MOD(2199, 199) ≡ 2. ∴ MOD((2199)10, 199) ≡ MOD(210, 199) ∴ MOD(21990, 199) ≡ MOD(1024, 199) ≡ 29 ≡ R1. Let R2 ≡ MOD(21990, 10) ∴ R2 ≡ 2 × MOD(21989, 5) Cancelling 2 from both sides. Now, MOD(21989, 5) ≡ MOD(2 × 21988, 5) ≡ MOD(2, 5) × MOD((22)994, 5) Also MOD(4994, 5) ≡ (-1)994 = 1 & MOD(2, 5) ≡ 2 ∴ MOD(21989, 5) ≡ 2 × 1 ∴ R2 ≡ 2 × 2 = 4. ∴ N leaves 29 as the remainder when divided by 199 and 4 as the remainder when divided by 10. Let N1 be the least such number which also follow these two properties i.e. leaves 29 as the remainder when divided by 199 and 4 as the remainder when divided by 10 ∴ N1 ≡ 199p + 29 = 10q + 4 (where, p and q are natural numbers) ∴ 199p + 25 = q 10 Of course, the 5 is the least value of p at which the above equation is satisfied, Correspondingly, q = 102. ∴ N1 = 1024. ∴ Family of the numbers which leaves 29 as the remainder when divided by 199 and 4 as the remainder when divided by 10 can be given by f(k) = 1024 + k × LCM(199,10) = 1024 + k × 1990 N is also a member of the family. ∴ N = 21990 = 1024 + k × 1990 ∴ MOD(21990, 1990) ≡ 1024.
VBA code:
x = 1
For i = 1 To 1990
x = 2 * (x Mod 1990)
Next i
MsgBox (x)
Solve it with m o d function.
2 1 9 9 0 m o d 1 9 9 0 = 1 0 2 4
Thus, the answer is 1 0 2 4
-_- wow such a great solution
Log in to reply
This is the RMO 1990 obviously not 1991. How do I know? See the 1990s in the problem? If this were 1991 it should say 1991 and not 1990.
Backed up through a google search. It is problem number 4 in the 1990 RMO.
Problem Loading...
Note Loading...
Set Loading...
If someone like my my solution vote up and please give solution to this Crazy functions!!!!
Fermat’s Little theorem:
a^p = a (mod. p) for any integer a.
Here 1990 = 199 x 10, 199 is prime number
On application
2^199 = 2 (mod 199)
==> 199 ⎪ 2^199 – 2
==> 199n = 2^199 – 2
==> 2^199 = 199n + 2
==> 2^1990 = (199n +2)^10
= (199n)^10 + 10c1 (199n)^9 . 2 + …. + 2^10
2^2, 2^6, 2^10, … = 4
i.e last digit for 2^10, = 4
and last digit for 2^1990 = 4
2^(2+m . 4)
2^(2+497 x 4)
So, in 2^1990 – 2^10 both terms have last digit 4. Hence it,s difference has last digit 0 i.e. dividable by 10.
So 2^1990 – 2^10 is divisible by 10
Further 2^1990 – 2^10 is divisible by 199
So 2^1990 – 2^10 is divisible by 1990
So when 2^1990 is divided by 1990 andThe remainder will be 2^10
i.e. 1024
If someone like my my solution vote up and please give solution to this Crazy functions!!!!