当前位置:网站首页>证明素数/质数有无限多个
证明素数/质数有无限多个
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更大的素数,这与假设相矛盾,即证明素数有无穷多个。
边栏推荐
- 二级造价工程师考试还没完?还有资格审核规定!
- 如何从零设计一款牛逼的高并发架构(建议收藏)
- RxSwift --(1)创建一个项目
- 2022年安全员-A证考试题库及模拟考试
- 2022年全国最新消防设施操作员(初级消防设施操作员)模拟题及答案
- 摄像头基础知识
- Where does the storm go? Whose pot is the weather forecast wrong?
- How high is the gold content of grade II cost engineer certificate? Just look at this
- 2022高处安装、维护、拆除考试题及答案
- 项目经理考完PMP就够了?不是的!
猜你喜欢

Simulation questions and answers of the latest national fire-fighting facility operators (primary fire-fighting facility operators) in 2022

大促场景下,如何做好网关高可用防护
![[NOIP2002 普及组] 过河卒](/img/6c/31fa210e08c7fd07691a1c5320154e.png)
[NOIP2002 普及组] 过河卒

IP datagram sending and forwarding process
![[csp-j2020] excellent splitting](/img/05/90f9cf71791b3cdc37073eaf5db989.png)
[csp-j2020] excellent splitting

如何学习可编程逻辑控制器(PLC)?

Cgo+gsoap+onvif learning summary: 8. Summary of arm platform cross compilation operation and common problems

Where does the storm go? Whose pot is the weather forecast wrong?

PCR/qPCR研究:Lumiprobe丨dsGreen 用于实时 PCR

The latest examination questions and answers for the eight members (standard members) of Liaoning architecture in 2022
随机推荐
C语言中函数是什么?编程中的函数与数学中的函数区别?理解编程语言中的函数
Notepad++ -- common plug-ins
程序员-放羊娃
[csp-j2020] excellent splitting
Analysis of distributed transaction TCC
Function and working principle of controller
lotus v1.16.0 calibnet
2022 low voltage electrician examination questions and answers
Lumiprobe cell imaging analysis: PKH26 cell membrane labeling kit
Organize the online cake mall project
Redis 的 最新windows 版本 5.0.14
信息学奥赛一本通 1360:奇怪的电梯(lift)
JS text box loses focus to modify width text and symbols
Assembly common instructions
Study on modified triphosphate: lumiprobe amino-11-ddutp
QCOM LCD调试
现代交换原理MOOC部分题目整理
The latest examination questions and answers for the eight members (standard members) of Liaoning architecture in 2022
CI & CD must be known!
Flexible IP network test tool -- x-launch