Dodecahedral Number Calculator
Count the dots in a dodecahedral figurate pattern from n times three n minus one times three n minus two over two.
What it does
Dodecahedral numbers are figurate numbers associated with a dodecahedron, the solid with twelve pentagonal faces. The sequence begins 0, 1, 20, 84, 220 and 455. Each term is built from a product of three linear factors divided by two.
Polyhedral numbers extend the idea of polygonal numbers into three dimensions. Where polygonal families are quadratic, polyhedral families are cubic, which means these values grow much faster than the flat polygonal counts.
The formula is n times three n minus one times three n minus two, all divided by two. The three factors reflect the three dimensional construction, and the division is exact for every whole n.
This page evaluates the product with exact integer arithmetic and reports the previous term and ratio beside the answer. It also distinguishes this family from centred dodecahedral numbers, which follow a different rule.
The index limit is one hundred thousand, giving a value with roughly sixteen digits printed in full.
How to use
- Enter an index n from 0 to 100,000.
- Read the dodecahedral number in the main result box.
- Check the previous term and growth beside it.
- The default index 4 reproduces the worked example.
- Try n = 3 to confirm the value 84.
- Compare with octahedral numbers to see another cubic family.
Formula
- n
- The index in the dodecahedral family.
- D(n)
- The dodecahedral number at that index.
The product of the three linear factors is always even, so the division by two gives an integer. The value at n = 1 is one and the value at n = 0 is zero. This family is sometimes called the ordinary dodecahedral numbers to separate it from the centred version.
Worked example
Example: index 4
The page opens with n = 4.
- Compute three n minus one: 12 - 1 = 11.
- Compute three n minus two: 12 - 2 = 10.
- Multiply the three factors: 4 x 11 x 10 = 440.
- Divide by two: 440 / 2 = 220.
- The tool reports 220, previous term 84, and growth 2.62x.
- Check the previous term: 3 x 8 x 7 / 2 = 84.
Reference table
| n | D(n) | Previous | Growth |
|---|---|---|---|
| 0 | 0 | n/a | n/a |
| 1 | 1 | 0 | n/a |
| 2 | 20 | 1 | 20.00x |
| 3 | 84 | 20 | 4.20x |
| 4 | 220 | 84 | 2.62x |
| 5 | 455 | 220 | 2.07x |
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 a drawing of the solid.
- Centred dodecahedral numbers use a different formula and are not covered.
Common mistakes
- Using centred dodecahedral numbers instead of this family.
- Forgetting the division by two.
- Using three n plus one or three n plus two in the factors.
- Expecting quadratic rather than cubic growth.
- Rounding the product before dividing.
Try it yourself
Quick checks. Answers sit tucked under each question.
What is D(4)?
D(4) = 4 x 11 x 10 / 2 = 220.
What is D(3)?
D(3) = 3 x 8 x 7 / 2 = 84.
What is D(2)?
D(2) = 2 x 5 x 4 / 2 = 20.
Questions
What is a dodecahedral number?
A figurate number based on the twelve faced dodecahedron.
Is this the centred version?
No. The centred family has different values and a different formula.
How fast do these grow?
Cubically, since the formula is a product of three linear terms.
Is the division always exact?
Yes, and the tool checks that before returning the value.
Are values exact?
Yes. Arbitrary precision integer arithmetic is used.
What index range is accepted?
Zero through 100,000.