【利用Fermat小定理】判断合数 |
送交者: gugeren 2022年08月25日12:53:28 于 [灵机一动] 发送悄悄话 |
【利用Fermat小定理】判断合数 Fermat's Little Theorem 是判断一个整数是素数的必要条件但不是充分的条件。 因此可用它判断一个整数是否合数。 https://en.wikipedia.org/wiki/Fermat%27s_little_theorem 请判断47197是否合数。 |
|
|
![]() | ||||||||||
|
![]() |
实用资讯 | |
一周点击热帖 | 更多>> |
一周回复热帖 |
|
历史上的今天:回复热帖 |
2020: | Entropy: In intuitive Introduction | |
2017: | 我把水泵井深问题简化版再简化一下 | |