POJ 3641 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) ...
原创
2020-02-05 21:07:55 ·
118 阅读 ·
1 评论