Rhombic Dodecahedral Number Calculator

Find the rhombic dodecahedral number as the difference between two consecutive fourth powers.

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

What it does

Rhombic dodecahedral numbers count cells in a cluster shaped like a rhombic dodecahedron. They are also known as Galileo numbers, because the sequence appears in early work on the growth of such patterns. The first few values are 1, 15, 65, 175 and 369.

The formula is remarkably simple: the nth term equals n to the fourth power minus n minus one to the fourth power. Expanding that difference gives a cubic polynomial, which explains the growth rate of the sequence.

This number also counts the spheres in successive shells of a close packed lattice viewed through its rhombic dodecahedral cells, which is why it appears in crystal structure and cluster chemistry.

This page evaluates the difference of powers with exact integer arithmetic and reports the previous term and ratio beside the result. It gives counts only, not a drawing of the cells.

The index limit is one hundred thousand, which keeps the printed value around fifteen digits.

How to use

  1. Enter an index n from 1 to 100,000.
  2. Read the rhombic dodecahedral number in the main result box.
  3. Check the previous term and growth beside it.
  4. The default index 5 reproduces the worked example.
  5. Try n = 4 to confirm the value 175.
  6. Verify a small term by subtracting two fourth powers.

Formula

R(n) = n^4 - (n - 1)^4
n
The index of the rhombic dodecahedral shell.
R(n)
The number of cells in that shell.

Expanding the fourth powers gives R(n) equals four n cubed minus six n squared plus four n minus one. The first value at n = 1 is one. The formula is cubic even though it is written as a difference of fourth powers, because the leading quartic terms cancel.

Worked example

Example: index 5

The page opens with n = 5.

  1. Compute n to the fourth: 5 x 5 x 5 x 5 = 625.
  2. Compute n minus one: 4.
  3. Compute four to the fourth: 256.
  4. Subtract: 625 - 256 = 369.
  5. The tool reports 369, previous term 175, and growth 2.11x.
  6. Check the previous value: 4^4 - 3^4 = 256 - 81 = 175.

Reference table

Rhombic dodecahedral numbers
nR(n)PreviousGrowth
11n/an/a
215115.00x
365154.33x
4175652.69x
53691752.11x
66713691.82x

Limits

  • The index starts at one, so zero is rejected.
  • 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 cells.

Common mistakes

  • Using n cubed minus n minus one cubed.
  • Forgetting to subtract the second fourth power.
  • Starting the index at zero and expecting one there.
  • Assuming the formula is quartic when the leading terms cancel.
  • Rounding intermediate powers instead of computing exactly.

Try it yourself

Quick checks. Answers sit tucked under each question.

What is R(5)?

R(5) = 625 - 256 = 369.

What is R(4)?

R(4) = 256 - 81 = 175.

What is the expanded cubic form?

R(n) = 4n^3 - 6n^2 + 4n - 1.

Questions

Why are these called Galileo numbers?

The sequence appears in Galileo's early study of figurate growth patterns.

How does the formula simplify?

The fourth powers cancel their leading terms, leaving the cubic four n cubed minus six n squared plus four n minus one.

Where are these used?

In cluster counting and the study of rhombic dodecahedral cells in packing problems.

What is the growth rate?

Cubic, with leading term four n cubed.

Are values exact?

Yes. Integer powers are computed exactly.

What index range is accepted?

One 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.