# Sum of Natural Numbers

 N:

Output: `Press calculate`

Amazon Kindle Scribe digital notebook with a 10 inch Paperwhite display

Still on my wishlist, but it is promising. The smaller kindles don't let me see enough of PDFs for technical sections.
As an Amazon Associate I earn from qualifying purchases. Thank you!

Formula:`S = n(n + 1)/2`

## Introduction to Sum of Natural Numbers Calculator

The sum of the first n natural numbers is calculated by the formula S = n(n + 1)/2. This formula provides a quick way to sum up all natural numbers from 1 to n, where n is a positive integer. The concept originates from Gauss's observation in elementary arithmetic.

## Parameter usage:

• `n` = upper limit of the natural numbers to be summed

## Example valid values:

• `n` = 10
• `n` = 100

## Output:

• `sum` = sum of the natural numbers up to `n`

## Data validation

n must be a natural number greater than 0.

## Summary

This calculator efficiently computes the sum of the first n natural numbers, demonstrating a foundational mathematical property used in various computations and formulas.