_padic_lifts_exps
Synopsis
#include <flint/padic.h>Returns the sequence a_0 = N, a_{i+1} = \lceil a_i/2 \rceil, ending with a_{n-1} = 1, and sets *n to its length \lceil \log_2 N \rceil + 1. Requires N \ge 1. The array is allocated with flint_malloc and must be freed with flint_free.
Cite this page
The FLINT team, “_padic_lifts_exps (padic.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/padic/_padic_lifts_exps.html (generated 2026-10-20).
@misc{flint-doc-padic-padic-lifts-exps,
author = {{The FLINT team}},
title = {{\_padic\_lifts\_exps (padic.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/padic/_padic_lifts_exps.html},
note = {Generated 2026-10-20}
}