arith_divisors
Synopsis
#include <flint/arith.h>void arith_divisors(fmpz_poly_t res, const fmpz_t n)sourceSets the coefficients of res to the positive divisors of in increasing order (so res has length ), and to the zero polynomial if . Uses a table for and otherwise factors with fmpz_factor and generates the products of prime powers.
Cite this page
The FLINT team, “arith_divisors (arith.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/arith/arith_divisors.html (generated 2026-11-02).
@misc{flint-doc-arith-arith-divisors,
author = {{The FLINT team}},
title = {{arith\_divisors (arith.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/arith/arith_divisors.html},
note = {Generated 2026-11-02}
}