FLINT3.7.0-dev

arb_primorial_ui, arb_primorial_nth_ui

Synopsis#include <flint/arb.h>
void arb_primorial_ui(arb_t res, ulong n, slong prec)source
void arb_primorial_nth_ui(arb_t res, ulong n, slong prec)source

Set res to the product of the primes up to nn, respectively of the first nn primes, in time quasilinear in nn.

Cite this page

The FLINT team, “arb_primorial_ui, arb_primorial_nth_ui (arb.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/arb/arb_primorial_ui.html (generated 2026-11-02).