FLINT3.7.0-dev

acb_modular_addseq_theta

Synopsis#include <flint/acb_modular.h>
void acb_modular_addseq_theta(slong * exponents, slong * aindex, slong * bindex, slong num)source

Constructs an addition sequence for the first num squares and pronic numbers interleaved (excluding zero), 1, 2, 4, 6, 9, 12, 16, 20, 25, 30, \ldots: entry k of exponents is the k-th number, and it equals the sum of the entries at aindex[k] and bindex[k], or twice the first plus the second.

Cite this page

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