Exemplo n.º 1
0
        public BigInt Karmichael(BigInt p, BigInt q)
        {
            BigInt one = new BigInt("1");

            return(BigInt.LCM(BigInt.subtract(p, one), BigInt.subtract(q, one)));
        }