Sum Sum Sum! - MATLAB Cody - MATLAB Central

Problem 44974. Sum Sum Sum!

Difficulty:Rate

Calculate the sum of the natural numbers from 1 to n

Solution Stats

92.65% Correct | 7.35% Incorrect
Last Solution submitted on Jun 25, 2025

Solution Comments

Show comments

Problem Recent Solvers59

Suggested Problems

Problem Tags

n sum

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!