Decagonal Number Calculator
Find the decagonal figurate number at an index from n times four n minus three, with growth shown.
What it does
Decagonal numbers are figurate numbers associated with a ten sided polygon. The nth term counts dots in a nested ten sided arrangement. The sequence begins 0, 1, 10, 27, 52 and 85, and it follows a quadratic formula with no division.
The decagonal family continues the polygonal sequence from triangles through nonagons. Because the general polygonal formula has a denominator of two, substituting ten sides cancels it and leaves the simple product n times four n minus three.
The formula is therefore easy to compute by hand for small indices. These values grow like four times n squared, which is faster than the nonagonal numbers at the same index.
This page evaluates the product with exact integer arithmetic and reports the previous term and ratio beside the result. It gives counts only, not drawings of the polygon.
The index limit is one hundred thousand, at which point the value has about eleven digits and is printed in full.
How to use
- Enter an index n from 0 to 100,000.
- Read the decagonal number in the main result box.
- Check the previous term and growth beside it.
- The default index 6 reproduces the worked example.
- Try n = 5 to confirm the value 85.
- Compare with nonagonal numbers at the same index.
Formula
- n
- The index, or number of layers, of the figure.
- D(n)
- The decagonal number at that index.
Substituting ten into the general polygonal formula gives n times four n minus three with no denominator. The value at n = 1 is one and at n = 0 is zero. The growth is quadratic with leading coefficient four.
Worked example
Example: index 6
The page opens with n = 6.
- Write the formula: D(6) = 6 x (4 x 6 - 3).
- Compute four times six: 24, then subtract three to get 21.
- Multiply by six: 6 x 21 = 126.
- The tool reports 126, previous term 85, and growth 1.48x.
- Check the previous value: 5 x 17 = 85.
- The first few terms are 0, 1, 10, 27, 52, 85 and 126.
Reference table
| n | D(n) | Previous | Growth |
|---|---|---|---|
| 0 | 0 | n/a | n/a |
| 1 | 1 | 0 | n/a |
| 2 | 10 | 1 | 10.00x |
| 4 | 52 | 27 | 1.93x |
| 5 | 85 | 52 | 1.63x |
| 6 | 126 | 85 | 1.48x |
Limits
- Indices above 100,000 are rejected to keep the output readable.
- The growth column is rounded to two decimals.
- The tool returns counts, not polygon drawings.
- Only the standard polygonal offset starting at zero is used.
Common mistakes
- Using four n minus four instead of four n minus three.
- Applying an unnecessary division by two.
- Starting the sequence at one without adjusting the index.
- Expecting cubic growth from a quadratic formula.
- Confusing decagonal with dodecahedral numbers.
Try it yourself
Quick checks. Answers sit tucked under each question.
What is D(6)?
D(6) = 6 x 21 = 126.
What is D(5)?
D(5) = 5 x 17 = 85.
What is D(2)?
D(2) = 2 x 5 = 10.
Questions
What is a decagonal number?
A figurate number whose dots form nested ten sided polygons.
Why is there no division?
Substituting ten into the polygonal formula cancels the denominator of two.
Why is the first value zero?
The standard indexing includes n equals zero, where the product is zero.
How fast do they grow?
Like four times n squared.
Are values exact?
Yes. Integer multiplication is used.
What index range is accepted?
Zero through 100,000.