Question 691617
There's a formula for that. You can prove it ( sort of )
by taking some examples
Sum 1 through 13 = 91 ( on my calculator )
The formula is:
{{{ S = (1/2)*13*14 }}}
{{{ S = 91 }}}
So, the sum of 1 through 334 is
{{{ S = (1/2)*334*335 }}}
{{{ S = (1/2)*111890 }}}
{{{ S = 55945 }}}