FLINT3.7.0-dev

arb_fmpz_euler_number_ui, arb_fmpz_euler_number_ui_multi_mod

Synopsis#include <flint/arb.h>
void arb_fmpz_euler_number_ui(fmpz_t res, ulong n)source
void arb_fmpz_euler_number_ui_multi_mod(fmpz_t res, ulong n, double alpha)source

Set res to the Euler number E_n exactly. The default algorithm uses a table, the Dirichlet beta function or a hybrid multimodular algorithm depending on n (Euler numbers); the multi_mod version takes a tuning parameter alpha, with a negative value selecting the default.

Cite this page

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