# Formula relating sum of values of a function to its integral

I came across the above formula in some quantum mechanics lecture notes explaining the Casimir effect. Anyone seen it before if so could you please tell me its 'name'. B refers to the Bernoulli numbers.