FLINT3.7.0-dev

mag_hurwitz_zeta_uiui

Synopsis#include <flint/mag.h>
void mag_hurwitz_zeta_uiui(mag_t res, ulong s, ulong a)source

Sets res to an upper bound for \zeta(s, a) = \sum_{k=0}^{\infty} (k+a)^{-s}.

The bound is

\zeta(s,a) \le \frac{1}{a^s} + \frac{1}{(s-1) a^{s-1}},

obtained by comparing the sum with an integral. It is +\infty if s \le 1 or a = 0.

Cite this page

The FLINT team, “mag_hurwitz_zeta_uiui (mag.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/mag/mag_hurwitz_zeta_uiui.html (generated 2026-10-20).