ParentFull threadmazak·It's f(x) = (x0 + xn) * n/2 Where x0 - is the first element (here: 1) xn - last element (here: 3000) n - number of elements (here 3000)That makes it: $4,501,500View on HN