Email zadetek: Fourier series of higher-order Bernoulli functions and their applications