FLINT3.7.0-dev

mag_geom_series

Synopsis#include <flint/mag.h>
void mag_geom_series(mag_t res, const mag_t x, ulong N)source

Sets res to an upper bound for \sum_{k=N}^{\infty} x^k = x^N / (1 - x), which is +\infty if x \ge 1.

Cite this page

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