C#实现Miller-Rabin素性测试程序
下面是一个C#实现Miller-Rabin素性测试的程序:
using System;
public class MillerRabin
{
// 快速幂取模计算 a^b mod n
private static long ModExp(long a
using System;
public class MillerRabin
{
// 快速幂取模计算 a^b mod n
private static long ModExp(long a