Cofnod E-bost: Fourier series of higher-order Bernoulli functions and their applications