Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

the sum of all first n natural numbers js

S(n) = n * (n + 1) / 2
 
PREVIOUS NEXT
Tagged: #sum #natural #numbers #js
ADD COMMENT
Topic
Name
7+8 =