sumfor(n, 1, 1010, (2*n - 1) - (2*n))== - 1010 + 2021==1011
OR:
2021 + ∑ [ (2n - 1) - (2n), n, 1, 1010] ==1011
Compute the value of
1-2+3-4+...+2019-2020+2021
(1+3+5+ ..... +2021) - ( 2+4+6+ ..... +2020)
these are just arithmetic progresstions
The sum of an AP = n2(a+L)
There are 2021 terms in total half that 1010.5 so there are 1010 even numbers and 1011 odd numbers
(1+3+5+ ..... +2021) - ( 2+4+6+ ..... +2020)
=[10112(1+2021)]−[10102(2+2020)]=[1011∗(1011)]−[505∗(2022)]=1022121−1021110=1011
I found my careless error, the corrected number is in red.
I am sorry to say this and I apologize but 1011 and 1516 aren't the answers and idk how and what it is.