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 EnE_n. A wrapper of arb_fmpz_euler_number_ui, which uses a table for small nn, the Dirichlet beta function β(n+1)\beta(n+1) for n<2000n < 2000 and a combination of the beta function with a multimodular method (as for Bernoulli numbers) for larger nn.

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-11-02).