General information
Category:
Coding, syntax & commands
Use formula for the SUM of the arithmetic sequence:
(first_number+last_number)/2*(number of members).
So, in your case, it is just:
(1+ln)/2*ln
>Does anyone know a simple formuala to do the following:
>
>1 = 1
>2 = 3 (1+2)
>3 = 6 (1+2+3)
>4 = 10 (1+2+3+4)
>5 = 15 (1+2+3+4+5)
>.
>.
>.
>
>
>So if given the number 5, the formula would return the total addition, 15. Thanks in advance for any ideas.
>
>Mat
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only