POJ3641 Pseudoprime numbers
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) ...
原创
2018-07-19 17:15:16 ·
131 阅读 ·
0 评论