Bernoulli polynomial 2026-10-13
The Bernoulli polynomials extend the Bernoulli numbers by inserting the exponential function into their exponential generating function:
For example, , , , and .[ref]
Their crucial property is a finite difference identity:
Indeed, subtracting the two exponential generating functions cancels and leaves . Thus plays for discrete summation the role that plays for integration: taking a unit finite difference recovers .[ref]
Integer power sum 2026-10-14
An integer power sum adds a fixed nonnegative integer power of consecutive integers. Let be a nonnegative integer and a nonnegative integer. For , use the constant polynomial , including at zero, so . Summing the Bernoulli polynomial finite difference identity makes the intermediate terms cancel and gives
The sum is empty when . For the endpoints , the formula valid also at is instead
For , , and this becomes the standard positive-endpoint formula. The exception at is essential: .[ref]
For , adding to changes the contribution from to . Equivalently,
where only differs from our Bernoulli numbers. A quick endpoint check is : the sums over and are and , respectively. The latter is a triangular number.