algo — C++23 日本語リファレンス GitHub

is_SPRP64

関数 · internal/internal_math.hpp

constexpr bool is_SPRP64(const montgomery &m, std::uint64_t a);

概要

given $2 \le n, a < 2^{64}$, $a$ prime, check whether $n$ is $a$-SPRP without 2,3,5,13,19,73,193,407521,299210837

関連項目