The Wikipedia article states the Dulong-Petit law as follows:
$$c=\frac{3R}M$$
$c$ is specific heat capacity $[\mathrm{\frac J{kg\; K}}]$ and $R$ the gas constant. $M$ is the molar mass in [g/mole], and "grams per mole" makes us think of a number of moles of a substance, as were it a molecular material.
In crystal structures there is no such thing as a "mole" of the substance. An example could be $\ce{CoSb3}$. $\ce{CoSb3}$ is not a molecule, but the simplest formula unit of the endlessly repeating crystal. So which $M$ to plug into the Dulong-Petit formula is not obvious here.
A researcher gave me the following version of the Dulong-Petit formula for this case (which I have used successfully):
$$c=\frac {3R}{M}n$$
The $M$ still means molar mass [g/mol], treating the formula unit as were it a molecule.
The $n$ is the number of atoms in the formula unit. So here, $n=4$. Simple.
I do not see how this version is equivalent with the former version. How does "treating the formula unit as was it a molecule" balance out with "multiplying with the number of atoms"? How is
$$\underbrace{\frac{3R}M}_{molecular}\Leftrightarrow \underbrace{\frac{3R}Mn}_{crystalline}$$
equivalent?