Sum of the nonnegative integers below 991
ProvedFiniteTriangular.sum_range_991algebrafinset
The sum of the integers from through equals , which is the triangular number .
Preamble
import Mathlib open Finset
Formal statement
namespace FiniteTriangular theorem sum_range_991 : ∑ k ∈ range 991, k = 490545 := by sorry end FiniteTriangular
Source
The closed form for the sum of an initial segment of the nonnegative integers.