2550
The sum of the whole numbers from 1 to 100 inclusive is 5,050.
From 1 (inclusive) to 1000(inclusive,) 750.
1,000,000 * * * * * The 1st and 500th sum to (2*1-1)+(2*500-1) = 2*501 - 2 = 1000 The 2nd and 499th sum to (2*2-1)+(2*499-1) = 2*501 - 2 = 1000 There are 250 such sums So sum of all 500 odd numbers = 250*1000 = 250,000
1000+1000 =2000 because 1+1=2 than add three zeros
The sum of the positive integers from 1,000 to 1,100 inclusive is: 106,050
2550
The sum of the whole numbers from 1 to 100 inclusive is 5,050.
It is 1000*(1000+1)/2 = 500500
To get a list of the squares of the first 1000 numbers we can do:> [n^2 | n sum [n^2 | n
From 1 (inclusive) to 1000(inclusive,) 750.
1,000,000 * * * * * The 1st and 500th sum to (2*1-1)+(2*500-1) = 2*501 - 2 = 1000 The 2nd and 499th sum to (2*2-1)+(2*499-1) = 2*501 - 2 = 1000 There are 250 such sums So sum of all 500 odd numbers = 250*1000 = 250,000
1000+1000 =2000 because 1+1=2 than add three zeros
The sum is 4009005.
The sum of the integers between 101 and 300 inclusive is equal to ((101+300) x 200) / 2 = 40100.
499 and 501
The first odd number is 1 The 1000th odd number is 1000 x 2 - 1 = 1999 Sum = number_of_numbers x (first_number + last_number) ÷ 2 = 1000 x (1 + 1999) ÷ 2 = 1000 x 2000 ÷ 2 = 1000000