Hi there!
In thermal field theory, the Matsubara frequencies are defined by \nu_n = \frac{2n\pi}{\beta} for bosons and \omega_n = \frac{(2n+1)\pi}{\beta} for fermions. Assuming discrete imaginary time with time indices k=0,\hdots,N, it is easy to obtain the following orthogonality relation...