= Generalized Bernoulli number
{title2=$B_{k,\chi}$}
Let $\chi$ be a <primitive Dirichlet character> of <conductor of a Dirichlet character> $f$. Its generalized Bernoulli numbers are the coefficients of the <exponential generating function>
$$
\sum_{a=1}^{f}\chi(a)\frac{t e^{at}}{e^{ft}-1}
=\sum_{n\ge0}B_{n,\chi}\frac{t^n}{n!}.
$$
Comparing this with the <Bernoulli polynomial> <generating function> gives the finite formula
$$
B_{n,\chi}=f^{n-1}\sum_{a=1}^{f}\chi(a)B_n(a/f).
$$
The formula makes the definition computable using finitely many ordinary <Bernoulli polynomials>.<NIST Digital Library of Mathematical Functions>[§24.16(ii), equation 24.16.10: primitive character, conductor and defining generating function; the finite formula follows by substituting ft into equation 24.2.3]{ref}
The convention at the trivial character deserves attention. For conductor $f=1$, the <generating function> is $te^t/(e^t-1)$, so $B_{1,1}=+1/2$, whereas the ordinary <Bernoulli number> convention in this article is $B_1=-1/2$. All other coefficients agree. For the nontrivial character modulo $4$, with $\chi(1)=1$, $\chi(3)=-1$ and zero values at even inputs, the finite formula gives $B_{1,\chi}=B_1(1/4)-B_1(3/4)=-1/2$.<NIST Digital Library of Mathematical Functions>[§24.16(ii), equation 24.16.12 and the character modulo 4 immediately preceding it]{ref}
These character-weighted coefficients encode special values of <Dirichlet L-functions> at nonpositive <integers> and occur in <Kubota-Leopoldt p-adic L-functions>. They let the arithmetic carried by a <Dirichlet character> enter the same <generating function> framework as ordinary <Bernoulli numbers>.
Back to article page