Difference between revisions of "2000 PMWC Problems/Problem I2"
(Created page with "==Problem== As far as we know, the greatest prime number is <math>2^{6972593}-1</math>. What is the remainder when <math>2^{6972593}-1</math> is divided by <math>5</math>? ==Sol...") |
(→Solution) |
||
Line 3: | Line 3: | ||
==Solution== | ==Solution== | ||
+ | Since the question only asks for the remainder when this monstrous number is divided by 5, we can use some tricks to reduce this number. | ||
+ | |||
+ | Specifically, since <math>2^4 = 16</math>, and 16 has a remainder of 1 when divided by 5, all of the <math>2^4</math>s within <math>2^(6972593)</math> can be divided out. Another way of explaining that step is that if you split <math>2^(6972593)</math> into as many factors of 16 as you could and had whatever was left on the side, you could remove all of the <math>16</math>s because multiplying a number by <math>16</math> is multiplying it by <math>(3 * 5) + 1</math>, and so will not change its remainder when divided by <math>5</math>. Applying this logic to <math>2^(6972593)</math>, we find that it simplifies to <math>2^1</math>, leaving <math>2^1 - 1</math>, which is clearly just <math>1</math>. | ||
+ | |||
+ | Thus the remainder is <math>1</math>. | ||
==See Also== | ==See Also== |
Revision as of 10:50, 23 December 2019
Problem
As far as we know, the greatest prime number is . What is the remainder when is divided by ?
Solution
Since the question only asks for the remainder when this monstrous number is divided by 5, we can use some tricks to reduce this number.
Specifically, since , and 16 has a remainder of 1 when divided by 5, all of the s within can be divided out. Another way of explaining that step is that if you split into as many factors of 16 as you could and had whatever was left on the side, you could remove all of the s because multiplying a number by is multiplying it by , and so will not change its remainder when divided by . Applying this logic to , we find that it simplifies to , leaving , which is clearly just .
Thus the remainder is .