DirichletL
The Dirichlet L-function of the -th character mod — the family that contains , and , and the setting of Dirichlet's theorem on primes in arithmetic progressions.
Dirichlet L-functionMathWorldDirichletL-SeriesWikidataQ2264419nLabDirichlet L-functionDLMF25.15.E1FungrimDirichletLWolfram LanguageDirichletL!DirichletL(k, j, s)the L-function of DirichletCharacter .Typed signatures
| Type | Package | Applies |
|---|---|---|
(integer, integer, number) -> number | analyticreplaces compute-engine | always |
(integer, integer, number) -> number | compute-engine | always |
Details
- , and for the principal character mod the Euler factors at the primes dividing drop out: — so it inherits 's pole at . Every non-principal is entire.
- , the DirichletBeta function; is not an L-function of this family (the alternating sign is not a character mod 2) but is . See DirichletEta.
- for every non-principal is the analytic heart of Dirichlet's theorem: each residue class coprime to contains infinitely many primes.
- Values at nonpositive integers are exact: , an algebraic number in the character's roots of unity (generalized Bernoulli numbers). See BernoulliB.
- Numerically, on the HurwitzZeta kernel, for complex ; near the Hurwitz poles cancel against each other, so there the Laurent expansion in the generalized StieltjesGamma constants is summed instead.
Plot
Examples
7 more kept as data, checked against the oraclesBasic #
Properties #
The principal character mod 2 gives at
live ↗Known value · Wolfram MathematicalFunctionData, DirichletL
Odd argument gives a multiple of :
live ↗Known value · Wolfram MathematicalFunctionData, DirichletL
Even argument gives a rational multiple of
live ↗Known value · Wolfram MathematicalFunctionData, DirichletL
For modulus 3, gives a multiple of
live ↗Known value · Wolfram MathematicalFunctionData, DirichletL
Modulus 3 at is rational times
live ↗Known value · Wolfram MathematicalFunctionData, DirichletL
Modulus 6 removes both Euler factors for 2 and 3
live ↗Known value · Wolfram MathematicalFunctionData, DirichletL
Possible issues #
About
| Examples | 34 |
|---|---|
| Checked against | Wolfram Language 32 agree2 differ |
| Crosswalk | WikipediaMathWorldWikidatanLabDLMFFungrimWolfram Language |
Implementation
notatioThe Hurwitz decomposition — the definition the kernel evaluates, away from s = 1.
typescriptpackages/ce-patches/src/compute-engine/numerics/dirichlet-l.tswolfram / mpmathpackages/oracle/src/mappings.tsDirichletL[k, j, s]; mpmath has dirichlet(s, chi) but takes the character as a period, with no indexing of its own.
See also: DirichletCharacter, DirichletBeta, DirichletEta, HurwitzZeta, Zeta