Rhombic Dodecahedral Number Calculator

Number Theory

Rhombic dodecahedral number R(n)175
Previous term65
Next term369
Sum of the first n terms256
How this was calculated
  1. The rhombic dodecahedral number for term n is 4n^3 - 6n^2 + 4n - 1, which is exactly n^4 - (n - 1)^4. Substituting n = 4 gives the term below.
  2. 4^4 - 3^4 = 175. A rhombic dodecahedron has 12 rhombic faces and tiles space without gaps.
  3. Term 4 of the rhombic dodecahedral numbers is 175. The term before it is 65 and the term after it is 369.
  4. Because each term is a difference of fourth powers, the sum telescopes: the first 4 terms add to 4^4 = 256.

The rhombic dodecahedral numbers lift figurate counting into three dimensions: instead of dots in a flat pattern, they count spheres (or unit cubes) in a growing solid. The sequence begins 1, 15, 65, 175, 369, 671, 1105, 1695, 2465 and 3461. The calculator above returns the term for any layer count n together with its neighbours and the running total.

The closed formula is (2n - 1)(2n^2 - 2n + 3) / 2. Three-dimensional figurate numbers grow cubically rather than quadratically, because each new layer is a surface whose size itself grows with n squared - which is why the totals on this page climb so much faster than the flat families.

Enter the layer count n and the calculator applies the formula in four visible steps: it states the formula, works the arithmetic, reads the term, and adds up the run of terms from the first to the nth. The previous and next terms are shown alongside, making it easy to check a value against its neighbours or extend the sequence by hand.

Worked examples

Fourth term

(4)

Rhombic dodecahedral number R(n)175
Previous term65
Next term369
Sum of the first n terms256

Sixth term

(6)

Rhombic dodecahedral number R(n)671
Previous term369
Next term1,105
Sum of the first n terms1,296

Third term

(3)

Rhombic dodecahedral number R(n)65
Previous term15
Next term175
Sum of the first n terms81

The formula

The rhombic dodecahedral number for layer count n is (2n - 1)(2n^2 - 2n + 3) / 2. The cubic growth is the key fact: doubling the layers multiplies the term by roughly eight once n is moderately large.

Membership questions run in reverse, as with the flat families: solve the cubic for n and check whether the answer is a positive whole number. If it is not, the count cannot be assembled into one of these solids with complete layers.

Building the solid layer by layer

A rhombic dodecahedron is the twelve-faced solid whose faces are all rhombi; it is famous as the shape that fills space without gaps and as the Voronoi cell of the face-centred cubic lattice. Its figurate numbers count spheres in that solid grown layer by layer, with differences 14, 50, 110, 194 between consecutive terms.

This layer view explains the shape of the formula. The difference between consecutive terms is the size of one added layer - itself a two-dimensional figurate count - and the calculator's steps surface that growth through the previous and next terms.

The first terms

The first terms are 1, 15, 65, 175, 369, 671, 1105, 1695, 2465 and 3461. Reading across them shows the cubic signature at once: the gaps between terms grow quadratically, unlike the flat families where the gaps grow only linearly.

The running totals grow faster still, roughly with the fourth power of n, because each term added to the sum is itself cubic. The calculator reports the sum of the first n terms beside every value so both rates are visible.

A worked example

Take n = 4. Substituting into (2n - 1)(2n^2 - 2n + 3) / 2 gives the term 175. The calculator shows the substitution in its second step rather than jumping to the answer, so the arithmetic can be followed and checked.

The same example gives a running total: the first 4 terms add to 256. Extending the layer count by one must raise the total by exactly the next term - a quick consistency check that catches most slips.

Neighbours and running totals

Every result comes with the previous term and the next term. The previous term is the solid one layer smaller; the next term previews the solid one layer larger. Together they bracket the answer and expose the size of the layer being added.

Running totals answer the cumulative question: how many unit spheres in one solid of every size from 1 up to n combined. That is the relevant number when the solids model stacked stock - cannonballs, oranges, ball bearings - at several sizes.

Relations to other sequences

The fourth term holds a small gift: the first four rhombic dodecahedral numbers, 1, 15, 65 and 175, add to exactly 256 - a power of two hiding inside a cubic sequence. The family also connects to close packing, since the rhombic dodecahedron is the cell of the densest sphere packing.

Three-dimensional figurate numbers are where the figurate idea meets solid geometry: each family is a discrete volume, and its layer differences are the flat figurate numbers of the corresponding cross-section. That nesting - solids built from flat layers built from shells - is the unifying picture behind every page in this group.

Where these numbers show up

Stacking problems are the natural home of these sequences: how many spheres in a pyramid or octahedral stack, how many unit cubes in a stepped solid, how inventory grows when each delivery adds a complete layer. They also appear in crystallography, where close-packed structures grow in exactly these layer patterns.

In teaching, the 3D families are the standard first example of cubic sequences, and the contrast with the quadratic flat families makes the growth-rate idea concrete: same construction, one dimension more, one power higher.

Testing membership in reverse

For the rhombic dodecahedral formula (2n - 1)(2n^2 - 2n + 3) / 2, the term grows like 2n^3, so the layer count is close to the cube root of x / 2. For x = 175 that estimate is about 4.4, pointing at n = 4 - and substituting n = 4 returns exactly 175, confirming membership. For x = 256 the estimate points at n = 5, which gives 369, and n = 4 gives 175; 256 is instead the sum of the first four terms, a different honour.

Membership testing matters because three-dimensional figurate numbers are very sparse: only ten terms of a family appear below a few thousand. A size estimate followed by one exact check replaces a long scan, and the calculator's neighbour display confirms the verdict - a true member sits exactly between the previous and next terms printed with it.

Discrete volumes

The rhombic dodecahedron tiles space without gaps, so its figurate numbers count a discrete volume with no wasted room - the counting analogue of the densest sphere packing, whose Voronoi cell this solid is. Counts of coordination shells in face-centred cubic crystals follow the same family.

That is the unifying idea of the 3D figurate families: each is a volume computed by counting instead of measuring. The layer differences are the flat figurate numbers of the cross-section, the terms are the accumulated volumes, and the running totals count whole sets of solids - three levels of the same construction, which is why these pages report all three quantities side by side.

Rhombic dodecahedra in nature

Nature found this solid early: garnet crystals grow as rhombic dodecahedra, and the shape caps the cells of a honeycomb where bees close their hexagonal prisms. Both appearances exploit the same property the mathematics prizes - the solid fills space perfectly, so a crystal or a comb built from it wastes nothing.

The figurate sequence is the counting version of that efficiency: layer counts with differences 14, 50, 110, 194 describe exactly how a space-filling solid accumulates unit cells, which is why the family also surfaces in sphere-packing and lattice literature.

Common mistakes

The most frequent slip is reaching for a flat formula - a quadratic - for a solid count; by n = 5 the error is already large. A second slip is an off-by-one in the layer count, counting the apex sphere as layer 0 in one place and layer 1 in another.

A third mistake is trusting a term without checking its neighbours. The gap to the previous term must equal the size of the layer that was added; if it does not, the arithmetic has gone wrong, and the calculator's four steps make the check immediate.

FAQs

What is the formula?

The rhombic dodecahedral number for layer count n is (2n - 1)(2n^2 - 2n + 3) / 2.

What is the term at n = 4?

175. The calculator shows the substitution step by step.

What are the first terms?

1, 15, 65, 175, 369, 671, 1105, 1695, 2465 and 3461.

How fast do the terms grow?

Cubically: each added layer is a surface whose size grows with n squared.

What does the sum of the first n terms mean?

The total count of one solid of every size from 1 up to n combined - the calculator reports it beside each term.

How can I check a value?

Compare it with its neighbours: the gap to the previous term must equal the size of the layer added at that step.

Does n start at 0 or 1?

At 1 in this calculator: the first solid is a single sphere or point with value 1.

Where are 3D figurate numbers used?

In stacking and packing counts, crystallography layer patterns, and as the standard example of cubic sequences.

Is 175 a rhombic dodecahedral number?

Yes - the size estimate points to n = 4, and substituting that index into the formula returns exactly 175.

Why do 3D figurate numbers grow cubically?

Each added layer is a surface whose size grows with n squared, so the accumulated count grows with n cubed.

Sources

Related calculators

Confidence Interval Calculator
The range around a sample mean or a sample proportion at 90%, 95% or 99% confidence, with the standard error and margin of error shown step by step.
Logistic Growth Calculator
S-curve growth toward a carrying capacity — population, adoption or market size at any point in time.
Sphenic Number Calculator
Test whether a number is sphenic - the product of exactly three distinct primes - with its factorization and the next sphenic number.