Wiki
Calculator
-- Make calculations easier!
Tweet
Print
Home
>
Math
>
Algebra
> Sum of the first n cubes
Sum of the first n cubes
Formula
S
sum of the first n cubes
n
number of cubes
Formula description
In arithmetic and algebra, the cube of a number n is its third power, the result of the number multiplying by itself three times. The sum of the first n cubes is the nth triangle number squared.
Calculator (
how to use calculator?
)
n
S
Precision
0
1
2
3
4
5
6
7
8
9
Formula code
C
C#
C++
Java
JavaScript
LaTeX
PHP
S = n*n*(n+1)*(n+1)/4
S = n*n*(n+1)*(n+1)/4
S = n*n*(n+1)*(n+1)/4
S = n*n*(n+1)*(n+1)/4
S = n*n*(n+1)*(n+1)/4
S = 1^3+2^3+\dots+n^3 = (1+2+\dots+n)^2=\left(\frac{n(n+1)}{2}\right)^2
$S = $n*$n*($n+1)*($n+1)/4
References
wikipedia: Cube (algebra).
Comment or add more code
If you cannot find the formula or calculator you want, please tell us what you want and we will add it for you ASAP. If you want anything else or find any error on this page, please just let us know. If you know the formula in other languages, you are welcome to add it. Thanks for contributing to wikicalculator.com!
Comment
Add code for the formula
Please help us do better by providing your opinions(<= 500 characters):
Language:
(<= 500 characters)
Name
Email
Home Page