This requires the formula for summation of an arithmetic sequence, which was first derived by Gauss, since the sequence is of the form

.
a = 1 (the first term)
L = 10000 (the last term)
n = 10000 (the number of terms summed)
The formula is:


Therefore the sum is
50005000
I hope this helps