一個 演算法,用於查詢給定 和素數 的 的最小非負值。
更多嘗試
Weisstein, Eric W. “香克斯演算法。” 來自 ——Wolfram 網路資源。 https://mathworld.tw/ShanksAlgorithm.html