(N/A) According to the law of atmospheres,the number density is given by:
$n_{2}=n_{1} \exp \left[-m g\left(h_{2}-h_{1}\right) / k_{B} T\right]$
For a particle of mass $m$ and density $\rho$ suspended in a medium of density $\rho^{\prime}$,the effective weight $W_{eff}$ is the actual weight minus the buoyant force (Archimedes' principle).
Let $V$ be the volume of the particle. Then $m = V\rho$.
The buoyant force is equal to the weight of the displaced medium: $F_{B} = V\rho^{\prime}g = (m/\rho)\rho^{\prime}g$.
The effective weight is:
$W_{eff} = mg - F_{B} = mg - (m/\rho)\rho^{\prime}g = mg(1 - \rho^{\prime}/\rho) = mg(\rho - \rho^{\prime})/\rho$.
Substituting this effective weight into the law of atmospheres and using $k_{B} = R/N_{A}$:
$n_{2} = n_{1} \exp \left[ -\frac{mg(\rho - \rho^{\prime})}{\rho} \frac{(h_{2} - h_{1})}{k_{B}T} \right]$
Substituting $k_{B} = R/N_{A}$:
$n_{2} = n_{1} \exp \left[ -\frac{mg(\rho - \rho^{\prime})}{\rho} \frac{(h_{2} - h_{1}) N_{A}}{RT} \right]$
Rearranging the terms,we get:
$n_{2} = n_{1} \exp \left[ -\frac{mg N_{A} (\rho - \rho^{\prime}) (h_{2} - h_{1})}{\rho RT} \right]$