aprcl_R_value
Synopsis
#include <flint/aprcl.h>Returns the value of R from a precomputed table, chosen by the bit size of n so that the corresponding s satisfies s^2 > n and the test is fast: from R = 6 for n < 2^{17} to R = 1396755360 up to 12713 bits, and R = 6983776800 (for which s has about 10000 bits, enough up to 20004 bits) beyond. For larger n this s is too small, and aprcl_config_jacobi_init extends R. On 32-bit machines inputs beyond 12713 bits raise an exception.
Cite this page
The FLINT team, “aprcl_R_value (aprcl.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/aprcl/aprcl_R_value.html (generated 2026-10-20).
@misc{flint-doc-aprcl-aprcl-R-value,
author = {{The FLINT team}},
title = {{aprcl\_R\_value (aprcl.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/aprcl/aprcl_R_value.html},
note = {Generated 2026-10-20}
}