FLINT3.7.0-dev

acb_modular_fill_addseq

Synopsis#include <flint/acb_modular.h>
void acb_modular_fill_addseq(slong * tab, slong len)source

Builds an addition sequence for a set of integers that is assumed to be fairly dense. On input, entry i of tab is -1 if i is to be part of the sequence and 0 otherwise; on output, a marked entry i holds a value j such that j and i - j are also in the sequence (doubling is preferred). Entries 0 and 1 are ignored; 1 is always assumed to be in the sequence.

Cite this page

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