FLINT3.7.0-dev

arith_number_of_partitions

Synopsis#include <flint/arith.h>
void arith_number_of_partitions(fmpz_t x, ulong n)source

Sets xx to p(n)p(n). A wrapper of partitions_fmpz_ui, which uses the Hardy–Ramanujan–Rademacher formula for large nn.

Cite this page

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