The sum of the first "n" numbers is equal to n(n+1)/2.
The sum of all the numbers 1 through 200 is 20,100.
The sum of all odd numbers 1 through 99 is 9,801.
The sum of all the numbers from 101 through 200 is 15,050.
500
The sum of all the odd numbers from 1 through 100 is 10,000
If the question is asking for the sum of natural numbers between two members of N, then you will have to add all the natural numbers between the two numbers (excluding the actual two numbers). For example, if they ask you to calculate the sum between 2 and 5, your answer should be 3+4=7.
You use the formulae (n^2 + n)/2 So as n = 200 that would be 20,100
To calculate the one's complement sum of a set of numbers, you first add all the numbers together. Then, you take the one's complement of the result by flipping all the bits in the binary representation of the sum.
The sum of all prime between numbers 1 and 400 (2 through 399) is 13,887.
Can you please provide more details about what you would like to calculate?
The sum of the numbers from 1 through 100 is 5,050.
The sum of the numbers 1 through 27 is 378.