How this calculation works
Evaluate the convergent real Hurwitz zeta series using Euler–Maclaurin tail corrections. The output compares two cutoffs rather than silently truncating an infinite sum.
ζ(s,a)=Σ_(k≥0)(a+k)^(−s); finite sum plus integral and Bernoulli corrections.A worked example
At s=2,a=1,the result isπ²/6≈1.6449340668. Increasing a to two removes the first unit term,so ζ(2,2)=π²/6−1.
Good to know
1.05≤s≤20,0.1≤a≤100. Real convergent series only.24/48term Euler–Maclaurin calculation with six Bernoulli corrections;refinement and last correction are diagnostics rather than rigorous remainder bounds. No analytic continuation near or below s=1.
Reference: Mathematical method reference (opens in a new tab) ↗
A shift changes the terms of an infinite power sum
Hurwitz zeta adds(a+k) raised to the negative power s over all nonnegative integers k. The shift a is part of every denominator rather than a multiplier outside the sum. Setting a to one recovers the ordinary convergent Riemann zeta series.
The implemented real domain requires s greater than one and positive a. These conditions make the displayed defining series meaningful without analytic continuation. A numerical continuation at another parameter would be a different evaluation procedure with additional conditions.
Compare this with the Harmonic number calculator. A finite harmonic sum does not evaluate the shifted infinite zeta function.
The tail can dominate near the convergence boundary
For s just above one,the summands decay slowly and a short direct sum can miss a large portion of the result. Increasing the cutoff a little does not fix that problem efficiently because the remaining integral still contributes substantially.
The accepted lower exponent is1.05,away from the pole at one. That bound does not make the raw48term partial sum accurate by itself;the explicit Euler–Maclaurin tail is essential to the returned value.
Euler Maclaurin combines an integral with derivative corrections
After the finite sum,the leading tail integral is x^(1−s)/(s−1),where x is the shifted cutoff. A half-endpoint contribution and Bernoulli corrections account for the difference between discrete sampling and the continuous integral.
Rising products of s appear in successive derivatives of x^(−s). Their signs and powers must stay consistent with the Bernoulli coefficients. The implementation evaluates two cutoffs with the same correction convention and reports their numerical difference.
The default connects to the Basel identity
At s=2,a=1,the sum is the reciprocal-square series and equalsπ²/6. This independently known value checks both the unit shift and the tail normalization. A formula missing the first term would be smaller by exactly one.
The identity ζ(s,a+1)=ζ(s,a)−a^(−s) supplies another useful check. For the default exponent,changing a from one to two should remove one,without changing the remaining infinite collection of denominators or requiring a rescaled exponent.
Interpret refinement as a numerical comparison
The displayed refinement compares cutoffs24 and48 after their tail corrections. Agreement suggests that the omitted correction behavior is small in the supported range,but does not by itself constitute an interval enclosure for the exact function.
The magnitude of the final Bernoulli correction is also reported. It is a term in the chosen asymptotic correction scheme,not automatically a rigorous remainder bound for every input. The page avoids labeling either diagnostic as a certified error bar.
Analytic continuation is outside this interface
The Hurwitz zeta function has a broader mathematical definition beyond the convergent series used here. This calculator does not apply that continuation and therefore rejects exponents at or below the stated lower bound rather than summing a divergent series.
Similarly,negative or complex shifts need additional singularity and branch handling. Entering an unsupported value is not a request to reinterpret it through a different identity. Domain errors preserve the actual meaning of the implemented method.
Use powers and shifts consistently in comparisons
A generalized harmonic sum contains finitely many terms,while this function includes an infinite tail. Their difference can be expressed through shifted zeta values,but one should not compare them as equal merely because they share the same exponent.
When applying the result to normalization or expected values,write the support's first term explicitly. That identifies the correct a and prevents a one-index offset from becoming an unnoticed probability or moment error in a surrounding model.
A few questions, answered
Is this a finite harmonic sum?
No. It includes an infinite tail starting at the entered shift.
Can s equal one?
No. The defining convergent series has a pole there.
Is the last correction a rigorous bound?
No. Both it and the cutoff comparison are numerical diagnostics.
What is the default answer?
The default ζ(2,1) is π²/6, approximately 1.6449340668 on the real axis.