mathematics
-
Sum of Natural Numbers
Learn how to calculate the sum of the first N natural numbers using iteration and the mathematical formula.
· 2 min read
-
Sum of Consecutive Numbers
Learn how to calculate the sum of consecutive numbers using a loop and a mathematical formula, with complexity and examples.
· 2 min read