My lecturer put up as a solution to the number density of photons to be $n_{o\gamma}=\tfrac{8\pi}{c^3}\int^{\infty}_0(\tfrac{kT}{h})^3\tfrac{x^2dx}{e^x-1}$. The integral on the right hand side being the Riemann zeta function with value which is approximately 1.2. But then he said this gives the value of the number density as $n_{0,\gamma}=400cm^{-3}$ for T=2.7. But if we input all the value in the first equation I gave this doesn't give anywhere close to that value.
I think perhaps what he is done is made a small blunder and the first equation gives the total number of photons in the universe and then we must divide by the volume of the universe, but even then $\tfrac{8\pi}{c^3}\int^{\infty}_0(\tfrac{kT}{h})^3\tfrac{x^2dx}{e^x-1}=1.98\times10^8$ and the volume of the universe is about $4\times10^{80}$ but dividing the first of the by the second returns a value of order $10^{-73}$which is still way off from what he said it should be.
Could anyone please explain this to me ?