当前位置:网站首页>信息安全数学基础 Chapter 1——整除
信息安全数学基础 Chapter 1——整除
2022-06-11 17:13:00 【L3H_CoLin】
定理1.1 任意给定整数a和正整数b>0,存在唯一的一对整数q,0≤r≤b,使得a=qb+r
推论1 任意给定整数a和正整数b<0,存在唯一的一对整数q, 0 ≤ r ≤ ∣ b ∣ 0\le r\le |b| 0≤r≤∣b∣,使得a=qb+r
推论2 任意给定整数a,c和整数b≠0,存在唯一的一对整数q,c≤r≤|b|+c,使得a=qb+r
定义1.1 整除、倍数、因子、商
定理1.2 设a,b,c为整数:
(1) 若a|b,b|a,则a=b
(2) 设整数k≠0,若a|b,则ka|kb,反之亦然
(3) 对任意整数k,若a|b,则a|kb
(4) 若a|b,b≠0,则 b a ∣ b \frac{b}{a}|b ab∣b
(5) 若a|b,b|c,则a|c
(6) 若a|b,a|c,则对任意整数s和t,a|sb+tc(裴蜀定理)
定义1.2 公因数、互素
定理1.3 设a,b为两个不全为0的整数,且a=qb+r,q,r为整数,则(a,b)=(b,r)
推论 设a,b为两个不全为0的整数,q为整数,则(a, b)=(a±bq, b)=(a, b±aq)
定理1.4 设a,b为两个正整数,rn-2=qn-1rn-1+rn,0≤rn≤rn-1为欧几里得辗转相除算式,则:
(1) (a,b)=rn
(2) 存在整数s,t,使得rn=sa+tb
(3) 任意整数c,若满足c|a且c|b,则c|rn
定理1.5 设a,b为两个正整数,上式为其欧几里得辗转相除算式,则由S0=0,S1=1,Si+1=Si-1-qn-iSi,n≥i≥1递推所得的Sn-1和Sn满足Sn-1a+Snb=rn
证明:写成矩阵形式
定理1.6 设a,b为两个不全为0的整数,则
(1) 对于任意正整数k,(ka,kb)=k(a,b)
(2) ( a ( a , b ) , b ( a , b ) ) = 1 (\frac{a}{(a,b)},\frac{b}{(a,b)})=1 ((a,b)a,(a,b)b)=1
定理1.7 设a,b,c是三个整数,a≠0,c≠0,若(a,b)=1,则(a,bc)=(a,c)
定理1.8 设a,b是两个不全为0的整数,关于x和y的整系数不定方程ax+by=c有整数解的充要条件是(a,b)|c。若x=x0,y=y0是方程的一个特解,那么方程的所有整数解都可以表示为: x = x 0 − b ( a , b ) t , y = y 0 + a ( a , b ) t , t ∈ Z x=x_0-\frac{b}{(a,b)}t, y=y_0+\frac{a}{(a,b)}t,t\in\mathbb Z x=x0−(a,b)bt,y=y0+(a,b)at,t∈Z
定义1.3 多个数的公因数、最大公因数、互素
定理1.9 设a1,a2,…,an是n个不全为0的整数,不妨设a1≠0,定义d1=(a1, a2),d2=(d1, a3),…,dn-1=(dn-2, an),则dn-1=(a1, a2, … an)
推论 设正整数d是a1,a2,…,an的最大公因数,存在s1,s2,…,sn有d=s1a1+s2a2+…+snan
定理1.10 正整数c是a1,a2,…,an的最大公因数,当且仅当:
(1) c|a1, c|a2, …, c|an
(2) 任一整数d若满足d|a1, d|a2, …, d|an,则d|c
定义1.4 公倍数、最小公倍数
定理1.11 设a,b为两个正整数,且(a,b)=1
(1) 若a|c,b|c,则ab|c
(2) [a,b]=ab
定理1.12 设a,b为两个正整数
(1) 对于任何正整数k,[ka, kb]=k[a,b]
(2) [ a , b ] = a b ( a , b ) [a,b]=\frac{ab}{(a,b)} [a,b]=(a,b)ab
(3) 若a|c,b|c,则[a,b]|c
定理1.13 设a1,a2,…,an是n个不为0的整数,定义m1=[a1, a2],m2=[m1, a3],…,mn-1=[mn-2, an],则[a1, a2, …, an]=mn-1
定理1.14 与定理1.10类似,不想抄了
定义1.5 素数
定理1.15 合数的最小的不等于1的正因子p一定是素数且小于根号m
推论 若所有小于根号m的素数都不是m的因子,则m为素数
定理1.16 素数有无穷多个
定理1.17 素数定理: lim x → ∞ π ( x ) ln ( x ) x = 1 \lim_{x\rightarrow\infty}\pi(x)\frac{\ln(x)}{x}=1 limx→∞π(x)xln(x)=1
定理1.18 切比雪夫定理:设整数n>3,则至少存在一个素数p满足n<p<2n-2
定理1.19 算数基本定理:n为一个大于1的正整数,则n必然可以分解为一些素数的乘积,如果将素因子顺序排列,则n分解方式唯一。
定义1.6 标准分解式
定义1.7 高斯函数
定理1.20
(1) 若x≤y,则[x]≤[y]
(2) 整数a满足x-1<a≤x ⇔ \Leftrightarrow ⇔a=[x]
(3) 整数a满足a≤x<a+1 ⇔ \Leftrightarrow ⇔a=[x]
(4) 任意整数n,[n+x]=n+[x]
定理1.21 整数a,b且b>0,带余除法算式a=qb+r,0≤r<b,则q= [ a b ] [\frac{a}{b}] [ba]
定理1.22 n!中包含的p次幂次数为 ∑ i ≥ 1 [ n p i ] \sum_{i\ge 1}[\frac{n}{p^i}] ∑i≥1[pin]
边栏推荐
- Error: error summary of pointer as function parameter
- [pytest learning] after the pytest case fails to execute, the others will not be executed
- 【opencvsharp】opencvsharp_ samples. Core sample code Notes
- Analyze which should be tested in PMP and ACP with actual cases? Which is more useful?
- Oracle数据库合并行记录,WMSYS.WM_CONCAT 函数的用和MySQL 中GROUP_CONCAT(id)的使用及比较。
- 我的CのERROR们
- Rdkit tutorial
- Derivation of child numbering formula for nodes numbered I in full k-ary tree
- 啟牛商學院給的證券賬戶是安全的嗎?開戶收費嗎
- ^31原型面试题
猜你喜欢

消息队列-推/拉模式学习 & ActiveMQ及JMS学习

Katalon Studio Enterprise

vscode保存代碼時自動eslint格式化

【opencvsharp】opencvsharp_ samples. Core sample code Notes

Classic reading of multi task learning: MMOE model

如何成为一个乐观派组织?

Tornado environment construction and basic framework construction -- familiar Hello World

Docker installs mysql5.7 (enable binlog function and modify characters)

API management artifact that allows you to call wow directly

C语言:使用.h和.c文件遇到的问题总结
随机推荐
DFS and BFS notes (I) breadth first search based on C language
Typescript learning notes (II)
Opencv相机标定之圆形标识点中心检测
用实际案例分析PMP与ACP应该考哪个?哪个更有用?
Is the stock account recommended by qiniu safe? Is it reliable
JSP page initial loading method
Tornado environment construction and basic framework construction -- familiar Hello World
Real time myth -- real-time RTOS multitask performance analysis
How to store tree structure in database
“is-a”,“has-a”,“like-a”
mysql 大表的拆分方式
Oracle 分析函数 over 和MySQL 实现类似效果写法
Recyclerview cache reuse analysis, source code interpretation
JINTE NET基金会将通过线上直播参与维度链全球战略发布会
How to disable the notebook's own keyboard after the notebook is connected to an external keyboard
Oracle database merge row records, wmsys WM_ Use of the concat function and group in MySQL_ Use and comparison of concat (ID).
LeetCode-384. Scramble array
Exception handling and exception usage in golang
[opencvsharp] spot detection barcode decoding image operation image rotation / flip / Zoom perspective transformation image display control demo notes
Meituan won the first place in fewclue in the small sample learning list! Prompt learning+ self training practice