Difference between revisions of "2011 AIME I Problems/Problem 11"
Coltsfan10 (talk | contribs) (the incorrect problem was up, I changed it to the actual one) |
(→Solution 2) |
||
(8 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
+ | ==Problem== | ||
+ | |||
Let <math>R</math> be the set of all possible remainders when a number of the form <math>2^n</math>, <math>n</math> a nonnegative integer, is divided by 1000. Let <math>S</math> be the sum of the elements in <math>R</math>. Find the remainder when <math>S</math> is divided by 1000. | Let <math>R</math> be the set of all possible remainders when a number of the form <math>2^n</math>, <math>n</math> a nonnegative integer, is divided by 1000. Let <math>S</math> be the sum of the elements in <math>R</math>. Find the remainder when <math>S</math> is divided by 1000. | ||
Line 36: | Line 38: | ||
&\equiv 0 \pmod{125}.\end{align*}</cmath> | &\equiv 0 \pmod{125}.\end{align*}</cmath> | ||
Then, since <math>T</math> is divisible by <math>125</math> and <math>8</math>, it follows that <math>T</math> is divisible by <math>1000.</math> Therefore, <cmath>S = R + T \equiv R \equiv \boxed{007} \pmod{1000}.</cmath> | Then, since <math>T</math> is divisible by <math>125</math> and <math>8</math>, it follows that <math>T</math> is divisible by <math>1000.</math> Therefore, <cmath>S = R + T \equiv R \equiv \boxed{007} \pmod{1000}.</cmath> | ||
+ | == Solution 3 == | ||
+ | Obviously, <math>2^i</math> will have to repeat at some point, and our goal is just to find when it repeats. Suppose <math>2^a</math> is the first time the powers of 2 repeat mod 1000, and that it is the same as <math>2^b</math> where <math>b < a.</math> We have | ||
+ | <cmath>2^a \equiv 2^b \mod 1000 \rightarrow 2^a - 2^b \equiv 0 \mod 1000 </cmath> | ||
+ | We can factor out a <math>2^b</math> to get | ||
+ | <cmath>2^b\left(2^{a-b} - 1\right) \equiv 0 \mod 1000</cmath> | ||
+ | Now, let's apply CRT. Obviously, if it is 0 mod 1000, this means directly that it is 0 mod 8 and 0 mod 125. Since <math>2^{a-b} - 1</math> has to be odd, this necessarily means <math>b \ge 3</math> for <math>8 \div 2^b.</math> This means that 125 has to divide <math>2^{a-b} - 1.</math> We wish to find the minimum <math>a - b</math> such that this is true, or similarly, we just wish to find <math>\text{ord}_{125}(2).</math> Note that by Euler's Totient Theorem, that <math>2^{100} \equiv 1 \mod 125.</math> After checking, and seeing that <math>2^{50} \equiv -1 \mod 125</math>, this directly means that <math>\text{ord}_{125}(2) = 100</math> or <math>a - b = 100.</math> Since <math>b \ge 3</math>, the smallest <math>(a, b)</math> pair is | ||
+ | <math>(103, 3).</math> What this really means is that the sequence of remainders will start repeating at <math>2^{103}</math> or namely that | ||
+ | <math>\{2^0, 2^1, ..., 2^{102}\}</math> are all distinct residues mod 1000. Adding these yields <cmath>2^{103} - 1 \equiv 8 - 1 \equiv \boxed{7} \mod 1000</cmath> | ||
== See also == | == See also == |
Latest revision as of 13:21, 13 July 2021
Problem
Let be the set of all possible remainders when a number of the form , a nonnegative integer, is divided by 1000. Let be the sum of the elements in . Find the remainder when is divided by 1000.
Solution 1
Note that and . So we must find the first two integers and such that and and . Note that and will be greater than 2 since remainders of will not be possible after 2 (the numbers following will always be congruent to 0 modulo 8). Note that (see Euler's theorem) and are all distinct modulo 125 (proof below). Thus, and are the first two integers such that . All that is left is to find in mod . After some computation: To show that are distinct modulo 125, suppose for the sake of contradiction that they are not. Then, we must have at least one of or . However, writing , we can easily verify that and , giving us the needed contradiction.
Solution 2
Notice that our sum of remainders looks like We want to find the remainder of upon division by Since decomposes into primes as , we can check the remainders of modulo and modulo separately.
Checking modulo is easy, so lets start by computing the remainder of upon division by To do this, let's figure out when our sequence finally repeats. Notice that since the remainder when dividing any term of (after the third term) by will be a multiple of , when this summation finally repeats, the first term to repeat will be not be since Instead, the first term to repeat will be , and then the sequence will continue once again
Now, to compute modulo , we want to find the least positive integer such that since then will just be the number of terms of (after the third term!) before the sequence repeats. In other words, our sequence will be of the form and then we will have , and the sequence will repeat from there. Here, simply represents the order of modulo , denoted by To begin with, we'll use a well-known property of the order to get a bound on
Since and , we know by Euler's Theorem that However, we do not know that is the least satisfying Nonetheless, it is a well known property of the order that Therefore, we can conclude that must be a positive divisor of
Now, this still leaves a lot of possibilities, so let's consider a smaller modulus for the moment, say Clearly, we must have that Since and powers of two will then cycle every four terms, we know that Combining this relation with , it follows that
Now, it is trivial to verify that In addition, we know that Therefore, we conclude that Hence, we must have (Notice that we could have guessed this by Euler's, but we couldn't have been certain without investigating the order more thoroughly).
Now, since we have found , we know that There are two good ways to finish from here:
The first way is to use a trick involving powers of Notice that Certainly In addition, since we already computed , we know that Therefore, since and , we conclude that
The second way is not as slick, but works better in a general setting when there aren't any convenient tricks as in Method 1. Let us split the terms of into groups: It is easy to see that is congruent to modulo
Now, for , notice that there are terms in the summation, each with a different remainder upon division by Since each of these remainders is certainly relatively prime to , these remainders correspond to the positive integers less than that are relatively prime to Therefore, Then, since is divisible by and , it follows that is divisible by Therefore,
Solution 3
Obviously, will have to repeat at some point, and our goal is just to find when it repeats. Suppose is the first time the powers of 2 repeat mod 1000, and that it is the same as where We have We can factor out a to get Now, let's apply CRT. Obviously, if it is 0 mod 1000, this means directly that it is 0 mod 8 and 0 mod 125. Since has to be odd, this necessarily means for This means that 125 has to divide We wish to find the minimum such that this is true, or similarly, we just wish to find Note that by Euler's Totient Theorem, that After checking, and seeing that , this directly means that or Since , the smallest pair is What this really means is that the sequence of remainders will start repeating at or namely that are all distinct residues mod 1000. Adding these yields
See also
2011 AIME I (Problems • Answer Key • Resources) | ||
Preceded by Problem 10 |
Followed by Problem 12 | |
1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 | ||
All AIME Problems and Solutions |
The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions.