FLINT3.7.0-dev

arith_euler_polynomial

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

Sets poly to the Euler polynomial En(x)E_n(x), using

En(x)=2n+1(Bn+1(x)−2n+1Bn+1(x2))E_n(x) = \frac{2}{n+1}\left(B_{n+1}(x) - 2^{n+1}B_{n+1}\left(\frac{x}{2}\right)\right)

with Bn+1(x)B_{n+1}(x) computed once by arith_bernoulli_polynomial and rescaled.

Cite this page

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