Centered Cube Number Calculator
Find the centered cube number as the sum of the cubes of n and n plus one, with growth shown.
What it does
Centered cube numbers count points in a cubic arrangement grown outward from a central point. A neat identity says the nth value is the cube of n plus the cube of n plus one. The sequence begins 1, 9, 35, 91, 189 and 341.
The family is the centred counterpart of the ordinary cube numbers. Where a cube number counts blocks in a solid with a corner as its anchor, a centred cube grows symmetrically around a single centre, which changes the values and the formula.
The formula is n cubed plus n plus one cubed. It is an integer for every n and needs no division. Expanding it gives two n cubed plus three n squared plus three n plus one.
This page computes the value with exact integer arithmetic and shows the previous term and ratio beside it. It gives counts only, not a drawing of the solid.
The index limit is one hundred thousand, which keeps the printed value around sixteen digits.
How to use
- Enter an index n from 0 to 100,000.
- Read the centered cube number in the main result box.
- Check the previous term and growth beside it.
- The default index 5 reproduces the worked example.
- Try n = 4 to confirm the value 189.
- Verify a small case by adding two consecutive cubes.
Formula
- n
- The index of the centred cube.
- C(n)
- The number of points in the arrangement.
Expanding the sum of cubes gives two n cubed plus three n squared plus three n plus one. The value at n = 0 is one, the central point, and the value at n = 1 is nine.
Worked example
Example: index 5
The page opens with n = 5.
- Compute five cubed: 5 x 5 x 5 = 125.
- Compute six cubed: 6 x 6 x 6 = 216.
- Add them: 125 + 216 = 341.
- The tool reports 341, previous term 189, and growth 1.80x.
- Check the previous value: 4 cubed plus 5 cubed is 64 + 125 = 189.
- Index zero gives 0 cubed plus 1 cubed, which is one.
Reference table
| n | C(n) | Previous | Growth |
|---|---|---|---|
| 0 | 1 | n/a | n/a |
| 1 | 9 | 1 | 9.00x |
| 2 | 35 | 9 | 3.89x |
| 3 | 91 | 35 | 2.60x |
| 4 | 189 | 91 | 2.08x |
| 5 | 341 | 189 | 1.80x |
Limits
- Indices above 100,000 are rejected to keep the output readable.
- The growth column is rounded to two decimals.
- The tool gives counts, not drawings of the solid.
- Only the centred cubic family starting at index zero is used.
Common mistakes
- Using n cubed alone instead of the sum of consecutive cubes.
- Confusing centred cubes with ordinary cube numbers.
- Starting the index at one and shifting every value.
- Expecting quadratic growth from a cubic formula.
- Adding squares instead of cubes.
Try it yourself
Quick checks. Answers sit tucked under each question.
What is C(5)?
C(5) = 125 + 216 = 341.
What is C(4)?
C(4) = 64 + 125 = 189.
What is C(0)?
C(0) = 0 + 1 = 1.
Questions
Why is it the sum of consecutive cubes?
The centred arrangement has a central point and shells whose counts add to that identity.
How is this different from a cube number?
A cube number grows from a corner, while a centred cube grows around a centre.
What is the expanded formula?
Two n cubed plus three n squared plus three n plus one.
How fast do they grow?
Cubically, with leading term two n cubed.
Are values exact?
Yes. Integer multiplication is used.
What index range is accepted?
Zero through 100,000.