Documentation

BluePrintDemo.SumFormulas

theorem BluePrintDemo.sum_naturals (n : ) :
2 * iFinset.range (n + 1), i = n * (n + 1)

The sum of the first n natural numbers equals n*(n+1)/2

theorem BluePrintDemo.sum_squares (n : ) :
6 * iFinset.range (n + 1), i ^ 2 = n * (n + 1) * (2 * n + 1)

The sum of the first n squares equals n*(n+1)*(2n+1)/6