Question 1184297
.


It looks like there is no exact formula in Math.



You may read about relevant knowledge from this source



https://math.stackexchange.com/questions/227551/sum-k-1-2-3-cdots-n-is-there-a-generic-formula-for-this



There is (there are)  asymptotic formula/formulas although . . .