 where is the total number of particles and the number of particles in any one of the energy levels available.The "weight" relates the microstate to the number of ways particles can be arranged to match the macrostate it expresses the nanoscopic in the scale of our reality.If the energy associated with the feature is , the statistical weight is given by the Boltzmann factor , where is the Boltzmann constant and is the temperature in kelvins.