_arith_bernoulli_number_vec_multi_mod
Synopsis
#include <flint/arith.h>The function inverts
modulo enough primes of bits to determine the numerators (bounded by arith_bernoulli_number_size plus the size of the denominator), which saves half of the work compared with since the odd terms vanish [BuhlerCrandallSompolski1992]. The numerators are recovered by Chinese remaindering with a comb that uses only as many primes as each entry needs. The cost is .
References#
- [BuhlerCrandallSompolski1992] Buhler, J.P. and Crandall, R.E. and Sompolski, R.W. : Irregular primes to one million : Math. Comp. 59:2000 (1992) 717–722
Cite this page
The FLINT team, “_arith_bernoulli_number_vec_multi_mod (arith.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/arith/_arith_bernoulli_number_vec_multi_mod.html (generated 2026-11-02).
@misc{flint-doc-arith-arith-bernoulli-number-vec-multi-mod,
author = {{The FLINT team}},
title = {{\_arith\_bernoulli\_number\_vec\_multi\_mod (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_vec_multi_mod.html},
note = {Generated 2026-11-02}
}