This famous arithmetic sequence (progression) problem was supposedly solved by the mathematician Gauss in his childhood. In essence, one solution involves starting at the center of the 100 numbers and adding the two terms (e.g., 50 + 51), and then spreading out in both directions. The learner soon realizes that each pair is equal to 101 and that there are 50 pairs. In general, forms like this one are challenging to discover. An infinite arithmetic progression grows without bounds. A finite arithmetic progression can sometimes be represented by an alternate form that simplifies the calculation. For example, the Gauss approach could be written as:

`$(number\ of\ pairs)\cdot(sum\ of\ each\ pair) = \frac{n}{2}(n +1)$`

The algebraic portion after the “=” sign is called a “closed-form.” The discovery of closed forms is nontrivial and outside our scope in this lesson.

Simply put, the sum of the first one hundred values looks like this:

`$\sum\limits_{i=1}^{n}i=\frac{n(n+1)}{2}=\frac{100(101)}{2}=5050$`

We can always sum an arithmetic sequence using the summation notation and working through the arithmetic.

### Instructions

**1.**

Given:

`$\sum\limits_{i=1}^{7}i$`

What is the sum of the seven values?

Assign your answer to `checkpoint_1`

in the code editor.

**2.**

What is the partial sum of this arithmetic sequence?

`$\sum\limits_{i=1}^{5}(2i+1)$`

Assign your answer to `checkpoint_2`

in the code editor.