FLINT3.7.0-dev

arith_bernoulli_polynomial

Synopsis#include <flint/arith.h>
void arith_bernoulli_polynomial(fmpq_poly_t poly, ulong n)source

Sets poly to the Bernoulli polynomial B_n(x) = \sum_{k=0}^n \binom{n}{k} B_k x^{n-k}, computing B_0, \ldots, B_n with _arith_bernoulli_number_vec and scaling by binomial coefficients over a common denominator.

Cite this page

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