aprcl_is_prime_final_division
Synopsis
#include <flint/aprcl.h>The final step of the test: given that every divisor of is congruent to for some , and , returns 0 if is divisible by one of the residues with , , and 1 otherwise. If , a return value of 1 proves that is prime. The walk through the residues is parallelised when threads are available.
Cite this page
The FLINT team, “aprcl_is_prime_final_division (aprcl.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/aprcl/aprcl_is_prime_final_division.html (generated 2026-11-02).
@misc{flint-doc-aprcl-aprcl-is-prime-final-division,
author = {{The FLINT team}},
title = {{aprcl\_is\_prime\_final\_division (aprcl.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/aprcl/aprcl_is_prime_final_division.html},
note = {Generated 2026-11-02}
}