Sum of Sixth Powers Calculator

Add the sixth powers of the first n whole numbers with a degree seven polynomial.

Math and PercentUpdated 2026-11-192 min read
Sum of Sixth Powers Calculator
A whole number from 1 to 10,000.
Sum of sixth powers
...
n used...
Closed form used...

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

  1. Enter the last whole number n.
  2. Read the sum of sixth powers as the main result.
  3. Check the polynomial shown for reference.
  4. Verify a small case by adding terms by hand.
  5. Try n = 10 to see the total of 1,978,405.
  6. Compare with the sum of fifth powers to see the faster growth.

Formula

Sum from k = 1 to n of k to the sixth = (6 n to the seventh + 21 n to the sixth + 21 n to the fifth - 7 n cubed + n) / 42
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.

  1. List the sixth powers: 1, 64, 729 and 4096.
  2. Add them directly to get 4890.
  3. Evaluate the polynomial: 6 times 16384 plus 21 times 4096 plus 21 times 1024 minus 7 times 64 plus 4.
  4. The numerator is 205,380.
  5. Divide by 42 to get 4890.
  6. The tool reports sum 4,890.

Reference table

Sums of sixth powers for sample n
nSum of sixth powers
44,890
101,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

How this page was checked. The formula above was matched against the cited sources, and the worked example was run through the tool on this page before publishing. If you spot an error, contact us so we can fix it and note the correction.