The sum of the cubes of consecutive numbers from 1 through n is the square of the sum of the numbers from 1 to n.
So the sum of the cubes of consecutive numbers from 1 through 4 is the square of the sum of the numbers 1 + 2 + 3 + 4 = 10 or 10² = 100.
For example, 1³ + 2³ + 3³ + 4³ = 1 + 8 + 27 + 64 = 100.
S(n) = 1³ + ... + n³ = [n(1 + n)/2]², I hope that helps!:-)
Word Counter | AllCallers | CallerInfo | ThinkCalculator | Free Code Format
Copyright ©2006 - 2023 Thinkcalculator All Rights Reserved. Contact Us: [email protected]