Difference between revisions of "2008 AIME II Problems/Problem 1"
Idk12345678 (talk | contribs) |
|||
(6 intermediate revisions by 5 users not shown) | |||
Line 2: | Line 2: | ||
Let <math>N = 100^2 + 99^2 - 98^2 - 97^2 + 96^2 + \cdots + 4^2 + 3^2 - 2^2 - 1^2</math>, where the additions and subtractions alternate in pairs. Find the remainder when <math>N</math> is divided by <math>1000</math>. | Let <math>N = 100^2 + 99^2 - 98^2 - 97^2 + 96^2 + \cdots + 4^2 + 3^2 - 2^2 - 1^2</math>, where the additions and subtractions alternate in pairs. Find the remainder when <math>N</math> is divided by <math>1000</math>. | ||
− | == Solution == | + | == Solution 1 == |
+ | Rewriting this sequence with more terms, we have | ||
+ | <center><cmath>\begin{align*} | ||
+ | N &= 100^2 + 99^2 - 98^2 - 97^2 + 96^2 + 95^2 - 94^2 - 93^2 + 92^2 + 91^2 + \ldots - 10^2 - 9^2 + 8^2 + 7^2 - 6^2 - 5^2 + 4^2 + 3^2 - 2^2 - 1^2 \mbox{, and reordering, we get}\\ | ||
+ | N &= (100^2 - 98^2) + (99^2 - 97^2) + (96^2 - 94^2) + (95^2 - 93^2) + (92^2 - 90^2) + \ldots + (8^2 - 6^2) + (7^2 - 5^2) +(4^2 - 2^2) + (3^2 - 1^2) \mbox{.} | ||
+ | \end{align*}</cmath></center> | ||
+ | Factoring this expression yields | ||
+ | <center><cmath>\begin{align*} | ||
+ | N &= (100 - 98)(100 + 98) + (99 - 97)(99 + 97) + (96 - 94)(96 + 94) + (95 - 93)(95 + 93) + (92 - 90)(90 + 92) + \ldots + (8 - 6)(8 + 6) + (7 - 5)(7 + 5) + (4 - 2)(4 + 2) + (3 - 1)(3 + 1) \mbox{, leading to}\\ | ||
+ | N &= 2(100 + 98) + 2(99 + 97) + 2(96 + 94) + 2(95 + 93) + 2(92 + 90) + \ldots + 2(8 + 6) + 2(7 + 5) + 2(4 + 2) + 2(3 + 1) \mbox{.} | ||
+ | \end{align*}</cmath></center> | ||
+ | Next, we get | ||
+ | <center><cmath>\begin{align*} | ||
+ | N &= 2(100 + 98 + 99 + 97 + 96 + 94 + 95 + 93 + 92 + 90 + \ldots + 8 + 6 + 7 + 5 + 4 + 2 + 3 + 1 \mbox{, and rearranging terms yields}\\ | ||
+ | N &= 2(100 + 99 + 98 + 97 + 96 + \ldots + 5 + 4 + 3 + 2 + 1) \mbox{.} | ||
+ | \end{align*}</cmath></center> | ||
+ | Then, | ||
+ | <center><cmath>\begin{align*} | ||
+ | N &= 2\left(\frac{(100)(101)}{2}\right) \mbox{, and simplifying, we get}\\ | ||
+ | N &= (100)(101) \mbox{, so}\\ | ||
+ | N &= 10100 \mbox{.} | ||
+ | \end{align*}</cmath></center> | ||
+ | Dividing <math>10100</math> by <math>1000</math> yields a remainder of <math>\boxed{100}</math>. | ||
+ | |||
+ | == Solution 2 == | ||
Since we want the remainder when <math>N</math> is divided by <math>1000</math>, we may ignore the <math>100^2</math> term. Then, applying the [[difference of squares]] factorization to consecutive terms, | Since we want the remainder when <math>N</math> is divided by <math>1000</math>, we may ignore the <math>100^2</math> term. Then, applying the [[difference of squares]] factorization to consecutive terms, | ||
<center><cmath>\begin{align*} | <center><cmath>\begin{align*} | ||
Line 10: | Line 34: | ||
\end{align*}</cmath></center> | \end{align*}</cmath></center> | ||
− | == See also == | + | == Solution 3 == |
+ | By observation, we realize that the sequence <cmath>(a+3)^2 + (a+2)^2 - (a+1)^2 - a^2</cmath> alternates every 4 terms. Simplifying, we get <cmath>(a+3)^2 + (a+2)^2 - (a+1)^2 - a^2 = 8a + 12</cmath>, turning <math>N</math> into a arithmetic sequence with 25 terms, them being <math>1, 5, 9, \dots ,97</math>, as the series <math>8a + 12</math> alternates every 4 terms. | ||
+ | |||
+ | Applying the sum of arithmetic sequence formula, we get | ||
+ | <center><cmath>\begin{align*} | ||
+ | N &= \frac{25\cdot((8\cdot1 + 12) + (8\cdot97 + 12))}{2} \\ | ||
+ | &= \frac{25\cdot(20 + 788)}{2} = 10100 | ||
+ | \end{align*}</cmath></center> | ||
+ | So the answer would be <cmath>\frac{10100}{1000} = \boxed{100}</cmath>. | ||
+ | |||
+ | |||
+ | - erdaifuu | ||
+ | |||
+ | ==Solution 4== | ||
+ | We can remove the <math>100^2</math> since <math>100^2 \equiv 0 \pmod{1000}</math> and use difference of squares to factor out the rest. This gives <cmath>(1)(99+98) + (-1)(96+97) + ... +(1)(3+2) +(-1)(1+0)</cmath> Writing this another way, we get <cmath>(99(2) - 1) - (97(2)- 1) + (95(2) - 1) - ... +(3(2)-1) - (1(2) -1)</cmath> We know that the last one is negative because all the numbers before multiplying that are in the form <math>4a - 1</math>(eg. <math>99 = 25(4) - 1 </math>) are positive. | ||
+ | |||
+ | Let <math>x = 99</math>. This makes the expression <cmath>(2x-1) - (2(x-2) - 1) + (2(x-4) - 1) - ... + (2(x-96) - 1) - (2(x-98) - 1)</cmath> This simplifies to <cmath>(2x-1) - (2x-5) + (2x-9) - ... +(2x - 193) - (2x-197)</cmath> Since the first one is positive and the last one is negative, that means there are an even number of terms and using the associative property and the distributive property, all of the <math>2x</math> terms cancel out. A consequence of this is that all of the positive integers turn negative and all the negative ones turn positive(eg. <math>-(2x-5) = -2x + 5</math>). | ||
+ | |||
+ | We are left with the sequence <cmath>-1+5-9+...-193+197</cmath> We can notice the property that the number of terms in the sequence to a positive number n is equal to <math>(n+3)/4</math>, as well as the fact that every pair sums up to 4. Therefore the total number of terms is <math>(197+3) / 4 = 50</math>. Therefore, there are 25 pairs each summing up to 4, leaving us with <math>25(4) = \boxed{100}</math>. | ||
+ | |||
+ | ~idk12345678 | ||
+ | |||
+ | == See also == | ||
{{AIME box|year=2008|n=II|before=First Question|num-a=2}} | {{AIME box|year=2008|n=II|before=First Question|num-a=2}} | ||
[[Category:Intermediate Algebra Problems]] | [[Category:Intermediate Algebra Problems]] | ||
{{MAA Notice}} | {{MAA Notice}} |
Latest revision as of 16:41, 14 April 2024
Problem
Let , where the additions and subtractions alternate in pairs. Find the remainder when
is divided by
.
Solution 1
Rewriting this sequence with more terms, we have
![\begin{align*} N &= 100^2 + 99^2 - 98^2 - 97^2 + 96^2 + 95^2 - 94^2 - 93^2 + 92^2 + 91^2 + \ldots - 10^2 - 9^2 + 8^2 + 7^2 - 6^2 - 5^2 + 4^2 + 3^2 - 2^2 - 1^2 \mbox{, and reordering, we get}\\ N &= (100^2 - 98^2) + (99^2 - 97^2) + (96^2 - 94^2) + (95^2 - 93^2) + (92^2 - 90^2) + \ldots + (8^2 - 6^2) + (7^2 - 5^2) +(4^2 - 2^2) + (3^2 - 1^2) \mbox{.} \end{align*}](http://latex.artofproblemsolving.com/a/7/9/a795bfc297226b5a2b580351d5a15c093eb2213a.png)
Factoring this expression yields
![\begin{align*} N &= (100 - 98)(100 + 98) + (99 - 97)(99 + 97) + (96 - 94)(96 + 94) + (95 - 93)(95 + 93) + (92 - 90)(90 + 92) + \ldots + (8 - 6)(8 + 6) + (7 - 5)(7 + 5) + (4 - 2)(4 + 2) + (3 - 1)(3 + 1) \mbox{, leading to}\\ N &= 2(100 + 98) + 2(99 + 97) + 2(96 + 94) + 2(95 + 93) + 2(92 + 90) + \ldots + 2(8 + 6) + 2(7 + 5) + 2(4 + 2) + 2(3 + 1) \mbox{.} \end{align*}](http://latex.artofproblemsolving.com/0/3/2/0325a66a6a77614ee82a197b2542e32b71487a4d.png)
Next, we get
![\begin{align*} N &= 2(100 + 98 + 99 + 97 + 96 + 94 + 95 + 93 + 92 + 90 + \ldots + 8 + 6 + 7 + 5 + 4 + 2 + 3 + 1 \mbox{, and rearranging terms yields}\\ N &= 2(100 + 99 + 98 + 97 + 96 + \ldots + 5 + 4 + 3 + 2 + 1) \mbox{.} \end{align*}](http://latex.artofproblemsolving.com/5/a/c/5ac9cce92dfbc2447fb71967dd509cdf51a978e2.png)
Then,
![\begin{align*} N &= 2\left(\frac{(100)(101)}{2}\right) \mbox{, and simplifying, we get}\\ N &= (100)(101) \mbox{, so}\\ N &= 10100 \mbox{.} \end{align*}](http://latex.artofproblemsolving.com/f/2/3/f23bce534975df5865cc4154bcc8a877e532fe5f.png)
Dividing by
yields a remainder of
.
Solution 2
Since we want the remainder when is divided by
, we may ignore the
term. Then, applying the difference of squares factorization to consecutive terms,
![\begin{align*} N &= (99-98)(99+98) - (97-96)(97+96) + (95-94)(95 + 94) + \cdots + (3-2)(3+2) - 1 \\ &= \underbrace{197 - 193}_4 + \underbrace{189 - 185}_4 + \cdots + \underbrace{5 - 1}_4 \\ &= 4 \cdot \left(\frac{197-5}{8}+1\right) = \boxed{100} \end{align*}](http://latex.artofproblemsolving.com/0/b/1/0b1a194ec0e04de5792553302910e506b8737c33.png)
Solution 3
By observation, we realize that the sequence alternates every 4 terms. Simplifying, we get
, turning
into a arithmetic sequence with 25 terms, them being
, as the series
alternates every 4 terms.
Applying the sum of arithmetic sequence formula, we get
![\begin{align*} N &= \frac{25\cdot((8\cdot1 + 12) + (8\cdot97 + 12))}{2} \\ &= \frac{25\cdot(20 + 788)}{2} = 10100 \end{align*}](http://latex.artofproblemsolving.com/8/b/c/8bc68759ef82303f6ef67052aa990f39fb3c2e30.png)
So the answer would be .
- erdaifuu
Solution 4
We can remove the since
and use difference of squares to factor out the rest. This gives
Writing this another way, we get
We know that the last one is negative because all the numbers before multiplying that are in the form
(eg.
) are positive.
Let . This makes the expression
This simplifies to
Since the first one is positive and the last one is negative, that means there are an even number of terms and using the associative property and the distributive property, all of the
terms cancel out. A consequence of this is that all of the positive integers turn negative and all the negative ones turn positive(eg.
).
We are left with the sequence We can notice the property that the number of terms in the sequence to a positive number n is equal to
, as well as the fact that every pair sums up to 4. Therefore the total number of terms is
. Therefore, there are 25 pairs each summing up to 4, leaving us with
.
~idk12345678
See also
2008 AIME II (Problems • Answer Key • Resources) | ||
Preceded by First Question |
Followed by Problem 2 | |
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.