We can split the summation into two separate summations:
∑i=420(2i−5)=∑i=4202i−∑i=4205 =2∑i=420i−∑i=4205 We can rewrite the first summation by using the formula for the sum of the first n integers: ∑i=1ni=2n(n+1) Therefore, ∑i=420i=∑i=120i−∑i=13i=220(20+1)−23(3+1)=220(21)−23(4)=2420−212=210−6=204 The second summation is simply the sum of a constant, 5, from i=4 to i=20. There are 20−4+1=17 terms in this summation. Thus, ∑i=4205=5×17=85 Substituting these values back into our original equation:
2∑i=420i−∑i=4205=2(204)−85=408−85=323