FLINT3.7.0-dev

arith_euler_number

Synopsis#include <flint/arith.h>
void arith_euler_number(fmpz_t res, ulong n)source

Sets res to E_n. A wrapper of arb_fmpz_euler_number_ui, which uses a table for small n, the Dirichlet beta function \beta(n+1) for n < 2000 and a combination of the beta function with a multimodular method (as for Bernoulli numbers) for larger n.

Cite this page

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