answersLogoWhite

0

Without just going and doing the addition, you can use this formula:

Sum of 1 to N is: (N+1)*N/2. So take sum of [1 to 100], then subtract off the sum of [1 to 20], and you'll have left the sum [21 to 100].

Sum [1-100] = (100+1)*100/2 = 5050. Sum[1-20] = (20+1)*20/2 = 210.

So 5050 - 210 = 4840

User Avatar

Wiki User

13y ago

What else can I help you with?