主要学的是快速幂,gcdI don't know what day this is,just record it. Pseudoprime numbers Description:Fermat's theorem states that for any prime number p and for any integer a > 1, ap = a (mod p). That is, if we raise a to the pth power and divide by p, the remainder is a. Some (but not very many) non-prime ...