Fourier series of finite product of Bernoulli and ordered Bell functions