Let N=1002+992−982−972+962+⋯+42+32−22−12, where the additions and subtractions alternate in pairs. Find the remainder when N is divided by 1000.
解析
Solution 1
Rewriting this sequence with more terms, we have
NN=1002+992−982−972+962+952−942−932+922+912+…−102−92+82+72−62−52+42+32−22−12, and reordering, we get=(1002−982)+(992−972)+(962−942)+(952−932)+(922−902)+…+(82−62)+(72−52)+(42−22)+(32−12).
Factoring this expression yields
NN=(100−98)(100+98)+(99−97)(99+97)+(96−94)(96+94)+(95−93)(95+93)+(92−90)(90+92)+…+(8−6)(8+6)+(7−5)(7+5)+(4−2)(4+2)+(3−1)(3+1), leading to=2(100+98)+2(99+97)+2(96+94)+2(95+93)+2(92+90)+…+2(8+6)+2(7+5)+2(4+2)+2(3+1).
Next, we get
NN=2(100+98+99+97+96+94+95+93+92+90+…+8+6+7+5+4+2+3+1, and rearranging terms yields=2(100+99+98+97+96+…+5+4+3+2+1).
Then,
NNN=2(2(100)(101)), and simplifying, we get=(100)(101), so=10100.
Dividing 10100 by 1000 yields a remainder of 100.
Solution 2
Since we want the remainder when N is divided by 1000, we may ignore the 1002 term. Then, applying the difference of squares factorization to consecutive terms,
(a+3)2+(a+2)2−(a+1)2−a2
alternates every 4 terms. Simplifying, we get
(a+3)2+(a+2)2−(a+1)2−a2=8a+12
, turning N into a arithmetic sequence with 25 terms, them being 1,5,9,…,97, as the series 8a+12 alternates every 4 terms.
Applying the sum of arithmetic sequence formula, we get
N=225⋅((8⋅1+12)+(8⋅97+12))=225⋅(20+788)=10100
So the answer would be
100010100=100
.
- erdaifuu
Solution 4
We can remove the 1002 since 1002≡0(mod1000) and use difference of squares to factor out the rest. This gives
(1)(99+98)+(−1)(96+97)+...+(1)(3+2)+(−1)(1+0)
Writing this another way, we get
(99(2)−1)−(97(2)−1)+(95(2)−1)−...+(3(2)−1)−(1(2)−1)
We know that the last one is negative because all the numbers before multiplying that are in the form 4a−1(eg. 99=25(4)−1) are positive.
Let x=99. This makes the expression
(2x−1)−(2(x−2)−1)+(2(x−4)−1)−...+(2(x−96)−1)−(2(x−98)−1)
This simplifies to
(2x−1)−(2x−5)+(2x−9)−...+(2x−193)−(2x−197)
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 2x terms cancel out. A consequence of this is that all of the positive integers turn negative and all the negative ones turn positive(eg. −(2x−5)=−2x+5).
We are left with the sequence
−1+5−9+...−193+197
We can notice the property that the number of terms in the sequence to a positive number n is equal to (n+3)/4, as well as the fact that every pair sums up to 4. Therefore the total number of terms is (197+3)/4=50. Therefore, there are 25 pairs each summing up to 4, leaving us with 25(4)=100.
~idk12345678
Solution 5
We simply take the outer pairs and from there, we use the inside terms. That is, N=1002+992−982−972+962+⋯+42+32−22−12 becomes N=(1002−12)+(992−22)−(982−32)−(972−42)+(962−52)... and thus is reduced to N=101(99+97−95−93+81+89−...−7−5+3+1) since the entire sequence has 50 terms. Therefore, the last two terms must be positive as the above inner sequence repeats as follows : Positive - positive - negative - negative. It follows that N=101[8(12)+4]=101[100]=10100. So the requested answer is 100. ~elpianista227