arith_bernoulli_number_denom
Synopsis
#include <flint/arith.h>Sets den to the denominator of in lowest terms: 1 for odd and , 2 for , and for even the product of the primes with , by the von Staudt–Clausen theorem. Values for are read from a table; beyond, the divisors of are enumerated from its factorization and is tested for primality.
Cite this page
The FLINT team, “arith_bernoulli_number_denom (arith.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/arith/arith_bernoulli_number_denom.html (generated 2026-11-20).
@misc{flint-doc-arith-arith-bernoulli-number-denom,
author = {{The FLINT team}},
title = {{arith\_bernoulli\_number\_denom (arith.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/arith/arith_bernoulli_number_denom.html},
note = {Generated 2026-11-20}
}