Blackbody Radiation:Wave Theory
Certain waves resonate in an object (due to standing wave), such that n(?/2) = L.
From this it follows that there are more small wavelengths that fit than long wavelengths.
From thermodynamics, we have the equipartition of energy: Each mode on average has an energy proportional to the Temperature of the object.