If you add up all the numbers from 1 to 100 consecutively (1 + 2 + 3…) it totals 5050
The formula to sum from 1 to n (n is any integer greater than 1) is n(n+1)/2 and thus sum from 1 to 100 = 100(100 + 1)/2 = (50)(101) = 5050. You can break the logic into 6 steps on adding numbers from 1 to 100 Divide the sequence