当前位置:网站首页>证明素数/质数有无限多个
证明素数/质数有无限多个
2022-06-28 05:06:00 【碳烤小肥羊。。。】
在证明素数有无穷多个之前我们先弄懂一些基本定理:
质数或素数:若大于 1 的整数 p 的所有正因子只有 p 和 1,则称其为质数或素数
(prime); 否则称其为 合数
(composite number)。
注意:1既不是素数也不是合数。
算术基本定理:任何一个大于1的自然数 N N N,如果 N N N不为质数,那么 N N N可以唯一分解成有限个质数的乘积 N = P 1 a 1 ∗ P 2 a 2 ∗ P 3 a 3 ∗ . . . . . . . ∗ P n a n N=P_1^{a_1}*P_2^{a_2}*P_3^{a_3}*.......*P_n^{a_n} N=P1a1∗P2a2∗P3a3∗.......∗Pnan,这里 P 1 < P 2 < P 3 . . . . . . < P n P_1<P_2<P_3......<P_n P1<P2<P3......<Pn均为质数,其中指数 a i a_i ai是正整数。这样的分解称为 N N N 的标准分解式。例如 24 = 2 3 ∗ 3 24 = 2^3 * 3 24=23∗3, 2和3都是素数或质数
下面给出欧几里德在 几何原本 里利用反证法证明素数的无穷性。
- 首先假设存在一个最大的素数 P P P。
- 然后将从2到 P P P之间的所有素数相乘然后再加1: N = 2 ∗ 3 ∗ 5 ∗ 7 ∗ 11 ∗ . . . . . . . ∗ P + 1 N=2 * 3 * 5 * 7 * 11 * ....... * P + 1 N=2∗3∗5∗7∗11∗.......∗P+1这样就得到了 N N N, N N N是一个合数。其中 N > P N > P N>P。
- 根据算术基本定理可知,一定存在一个素数 P i P_i Pi可以整除 N N N, 即 N m o d P i = = 0 N mod P_i == 0 NmodPi==0, 由于 ( N − 1 ) m o d P i = 0 (N-1) mod P_i = 0 (N−1)modPi=0, 那么一定有 1 m o d P i = 0 1modP_i = 0 1modPi=0, 由于 P i P_i Pi最小为2, 可知不存在这样的 P i P_i Pi, 所以N是比P更大的素数,这与假设相矛盾,即证明素数有无穷多个。
边栏推荐
- PHP code wechat, official account and enterprise wechat send emoticons [u+1f449]
- Learning Tai Chi Maker - mqtt Chapter II (VI) mqtt wills
- Pcr/qpcr research: lumiprobe dsgreen is used for real-time PCR
- A doctor's 22 years in Huawei (full of dry goods)
- Role of native keyword
- Feign通过自定义注解实现路径的转义
- Study on modified triphosphate: lumiprobe amino-11-ddutp
- BioVendor sRAGE蛋白解决方案
- ?位置怎么写才能输出true
- Blocking, non blocking, IO multiplexing select\poll\epoll
猜你喜欢
mysql----where 1=1是什么意思
Learning Tai Chi Maker - mqtt Chapter 2 (V) heartbeat mechanism
Where does the storm go? Whose pot is the weather forecast wrong?
开关电源电压型与电流型控制
Cgo+gsoap+onvif learning summary: 8. Summary of arm platform cross compilation operation and common problems
Feign remote call fallback callback failed, no effect
Idle interrupt cannot be cleared
2022年低压电工考题及答案
大促场景下,如何做好网关高可用防护
Blocking, non blocking, IO multiplexing select\poll\epoll
随机推荐
Feign remote call fallback callback failed, no effect
Extjs图书管理系统源码 智能化图书管理系统源码
分享一个因子挖掘的利器:遗传规划
无线传感器网络学习笔记(一)
Carboxylic acid study: lumiprobe sulfoacyanine 7 dicarboxylic acid
metaRTC5.0 API编程指南(一)
Severe tire damage: the first rock band in the world to broadcast live on the Internet
How long will the PMP test results come out? You must know this!
Interview: what are the similarities and differences between abstract classes and interfaces?
短视频本地生活版块成为热门,如何把握新的风口机遇?
sqlmap工具使用手册
店铺进销存管理系统源码
Sorting out some topics of modern exchange principle MOOC
Study on modified triphosphate: lumiprobe amino-11-ddutp
基于订单流工具,我们能看到什么?
Analysis of distributed transaction solution Seata golang
PCR/qPCR研究:Lumiprobe丨dsGreen 用于实时 PCR
CI & CD must be known!
Meta universe standard forum established
Notepad++ -- common plug-ins