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.

Math and PercentUpdated 2026-11-182 min read
Dodecahedral Number Calculator
A whole number from 0 to 100,000.
Dodecahedral number
...
Previous term...
Growth from previous...

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

  1. Enter an index n from 0 to 100,000.
  2. Read the dodecahedral number in the main result box.
  3. Check the previous term and growth beside it.
  4. The default index 4 reproduces the worked example.
  5. Try n = 3 to confirm the value 84.
  6. Compare with octahedral numbers to see another cubic family.

Formula

D(n) = n(3n - 1)(3n - 2) / 2
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.

  1. Compute three n minus one: 12 - 1 = 11.
  2. Compute three n minus two: 12 - 2 = 10.
  3. Multiply the three factors: 4 x 11 x 10 = 440.
  4. Divide by two: 440 / 2 = 220.
  5. The tool reports 220, previous term 84, and growth 2.62x.
  6. Check the previous term: 3 x 8 x 7 / 2 = 84.

Reference table

Dodecahedral numbers at small indices
nD(n)PreviousGrowth
00n/an/a
110n/a
220120.00x
384204.20x
4220842.62x
54552202.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.

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.