arb_partitions_fmpz, arb_partitions_ui
Synopsis
#include <flint/arb.h>Set res to the partition function p(n). If \log_2 p(n) exceeds twice prec, the leading term of the Hardy-Ramanujan-Rademacher series with an error bound is used; otherwise the exact value is computed and rounded. See Computing the partition function.
Cite this page
The FLINT team, “arb_partitions_fmpz, arb_partitions_ui (arb.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/arb/arb_partitions_fmpz.html (generated 2026-10-20).
@misc{flint-doc-arb-arb-partitions-fmpz,
author = {{The FLINT team}},
title = {{arb\_partitions\_fmpz, arb\_partitions\_ui (arb.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/arb/arb_partitions_fmpz.html},
note = {Generated 2026-10-20}
}