The Bernoulli Numbers are defined by a special case of the following Bernoulli polynomials:

When and , the above expression becomes:

where:

The Euler Numbers are defined by a special case of the following Euler polynomials: