black body in 4 dimensions

What would be a black body’s flux-frequency relation in 4 spatial dimensions? In \(n\) spatial dimensions? What would be equivalent relations for the Wien displacement law and the Stefan-Boltzmann law?

bonus question: What’s \(\mathrm{d}/\mathrm{d}x\: \mathrm{arcosh}(x)\)?