Sum of Sixth Powers Calculator
Add the sixth powers of the first n whole numbers with a degree seven polynomial.
What it does
The sum of the sixth powers of the first n positive whole numbers is given by a polynomial of degree seven. Evaluating it directly is far quicker than adding thousands of sixth powers one at a time.
This tool takes n and returns the sum. The page opens with n equal to 4, where one plus sixty four plus seven hundred twenty nine plus four thousand ninety six gives four thousand eight hundred ninety.
The closed form is six n to the seventh plus twenty one n to the sixth plus twenty one n to the fifth minus seven n cubed plus n, all divided by forty two.
For even powers, Faulhaber's formula expresses the sum as the sum of squares times a polynomial in the triangular number. The sixth power case fits that pattern and is sometimes written in a factored form.
The tool accepts n up to ten thousand and reports an exact integer using floating point arithmetic that stays well within safe precision for that range.
How to use
- Enter the last whole number n.
- Read the sum of sixth powers as the main result.
- Check the polynomial shown for reference.
- Verify a small case by adding terms by hand.
- Try n = 10 to see the total of 1,978,405.
- Compare with the sum of fifth powers to see the faster growth.
Formula
- n
- The last whole number included.
- k
- The running index from 1 to n.
- sum
- The total of all sixth powers, an exact integer.
The coefficients come from the Bernoulli numbers. An equivalent factored form uses the sum of squares and the triangular number, which makes the integer nature of the result more visible.
Worked example
Example: first four sixth powers
The page opens with n = 4.
- List the sixth powers: 1, 64, 729 and 4096.
- Add them directly to get 4890.
- Evaluate the polynomial: 6 times 16384 plus 21 times 4096 plus 21 times 1024 minus 7 times 64 plus 4.
- The numerator is 205,380.
- Divide by 42 to get 4890.
- The tool reports sum 4,890.
Reference table
| n | Sum of sixth powers |
|---|---|
| 4 | 4,890 |
| 10 | 1,978,405 |
Limits
- Accepts whole numbers of n from 1 to 10,000.
- Starts at 1, not at 0.
- The result is an exact integer.
- The tool does not sum arbitrary lists of sixth powers.
Common mistakes
- Using the fifth power formula by mistake.
- Forgetting to divide by 42.
- Dropping the negative term in seven n cubed.
- Starting the sum at zero and expecting a different answer.
- Expecting the sum to grow like a fourth power.
Try it yourself
Quick checks. Answers sit tucked under each question.
Sum of the first ten sixth powers?
1,978,405.
What is two to the sixth plus one?
65.
How fast does the sum grow?
Roughly like n to the seventh power divided by seven.
Questions
What is the closed form?
The polynomial shown above divided by 42.
Is the result always an integer?
Yes.
How is this related to Bernoulli numbers?
The coefficients of power sum polynomials come from Bernoulli numbers.
Can I factor the expression?
Yes, even power sums factor using the sum of squares.
What is the degree of the polynomial?
Seven, one more than the power being summed.
Can n be zero?
The sum would be zero, but this tool starts at n = 1.
Sources
- Rutgers University, formula for the sum of the first n sixth powers
- University of Hawaii, power sums and Bernoulli polynomials
- Lake Forest College and Williams College, sums of powers