The sum of two cubes can be factored as below.
a3 + b3 = (a + b)(a2 - ab + b2)
Chat with our AI personalities
That means that you calculate the cubes of two numbers, and then either add or subtract them.
1
Sum and difference of two cubes is factored this way : a3 + b3 = (a + b)(a2 - ab + b2) a3 - b3 = (a - b)(a2 + ab + b2)
There's a formula for the sum of cubes. (3x + 4)(9x^2 - 12x + 16)
The sum of the cubes of the first 100 whole numbers is 25,502,500.