当前位置:网站首页>证明素数/质数有无限多个
证明素数/质数有无限多个
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更大的素数,这与假设相矛盾,即证明素数有无穷多个。
边栏推荐
- 使用class toplevel的messagebox时,窗口弹出问题。
- 电源插座是如何传输电的?困扰小伙伴这么多年的简单问题
- Lumiprobe cell imaging analysis: PKH26 cell membrane labeling kit
- 摄像头基础知识
- 交流电和直流电的区别是什么?
- 2022新版nft源码中国元宇宙数字藏品艺术品交易平台源码
- CPG 固体支持物研究:Lumiprobe通用 CPG II 型
- 改性三磷酸盐研究:Lumiprobe氨基-11-ddUTP
- It is the latest weapon to cross the blockade. It is one of the fastest ladders.
- Function and working principle of controller
猜你喜欢

On the necessity of building a video surveillance convergence platform and its scenario application

电源插座是如何传输电的?困扰小伙伴这么多年的简单问题

Analysis of distributed transaction solution Seata golang

店铺进销存管理系统源码

Excel将一行的内容进行复制时,列与列之间是用制表符“\t”进行分隔的

How to do a good job of gateway high availability protection in the big promotion scenario

2022年低压电工考题及答案

Learning Tai Chi Maker - mqtt Chapter 2 (V) heartbeat mechanism

Dart学习——函数、类

如何从零设计一款牛逼的高并发架构(建议收藏)
随机推荐
Severe tire damage: the first rock band in the world to broadcast live on the Internet
Operation of simulated examination platform of G3 boiler water treatment recurrent training question bank in 2022
Lumiprobe cell imaging analysis: PKH26 cell membrane labeling kit
2022高处安装、维护、拆除考试题及答案
2022年安全员-B证考试题库及答案
Differences between pragma and ifndef
创新之源 理解通透 二
How to do a good job of gateway high availability protection in the big promotion scenario
二级造价工程师考试还没完?还有资格审核规定!
程序员-放羊娃
现代交换原理MOOC部分题目整理
Assembly common instructions
Precautions for using C language global variables (global variables in C and H files, static global variables)
metaRTC5.0 API编程指南(一)
Amino dye research: lumiprobe fam amine, 6-isomer
PMP考试成绩多久出来?这些你务必知道!
wordpress zibll子比主题6.4.1开心版 免授权
2022西式面点师(高级)考试试题模拟考试平台操作
改性三磷酸盐研究:Lumiprobe氨基-11-ddUTP
Interview: what are the similarities and differences between abstract classes and interfaces?