Question DSA-MATH-0029
EasyWhat is the formula for the sum of the first n natural numbers?
- A.
n(n + 1)/2
- B.
2ⁿ − 1
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Math and Number Theory question
What is the formula for the sum of the first n natural numbers?
n(n + 1)/2
2ⁿ − 1
Sign up free to see the answer and a step-by-step explanation.
n²
n(n − 1)