candidate: A few weeks earlier , he had derived the Einstein relation for diffusion , which was the first example of the general fluctuation - dissipation theorem and allowed a good estimate of the Avogadro constant .