For the theory of equipartition of energy the energy associated with the each molecule is f/ 2 KT if the gas has n number of moles , now how we can convert the moles into molecules and the energy associated with total molecule is found to be n×na×f/2KT. Here na×K=R(gas constant) how? And total energy associated with total molecule is n ×R×T×f/2.