Sum of integers below 798
ProvedFiniteTriangular.sum_range_798arithmeticfinite-sum
The sum of the nonnegative integers strictly less than equals . Equivalently, .
Preamble
import Mathlib open Finset
Formal statement
namespace FiniteTriangular theorem sum_range_798 : ∑ k ∈ range 798, k = 318003 := by sorry end FiniteTriangular
Source
Elementary arithmetic series: the sum of the first m positive integers is m(m+1)/2, rewritten on Finset.range.