Sum Of Sequence
The series $\sum\limits_{k=1}^n k^a = 1^a + 2^a + 3^a + \dots + n^a$ gives the sum of the $a^\text{th}$ powers of the first nn positive numbers, where aa and $n$ are positive integers. Each of these series can be calculated through a closed-form formula.
The case $a=1,n=100$ is famously said to have been solved by Gauss as a young schoolboy: given the tedious task of adding the first 100 positive integers, Gauss quickly used a formula to calculate the sum of 5050.
The formulas for the first few values of $a$ are as follows:
k=1∑n​k=2n(n+1)​
k=1∑n​k2=6n(n+1)(2n+1)​
k=1∑n​k3=4n2(n+1)2​
Reference
Last updated