Summary of Lecture 7
Chebyshev’s theta function:
THEOREM:.
THEOREM: For any real number , .
THEOREM (Hadamard; Poussin, 1896):
- ;
// Rosser and Schoenfeld
THEOREM: when .
Prime Number Generation: choose and test // at most trials
- Fermat test:
THEOREM: Let and . If , then if and only if .
Chinese Remainder Theorem
THEROEM: Let be pairwise relatively prime and let . Then for any , then the system
always has a solution. Furthermore, if is a solution, then any solution must satisfy .
- Let for every .
- for every .
- .
- Let .
- Then for every .
- for all
for all
for all
Solution to Sun-Tsu’s Question
EXAMPLE: Solve the system .
- is a solution of the system iff
- Solutions:
CRT Map
THEOREM: Let and for all . Let . The CRT map is a bijection from to .
- is well-defined:
- show that for every
- for every for every
- show that
- for every ;
for every
- is injective, i.e.,
- for every
for every
- is surjective: Let . Preimage?
- Due to CRT, the system , has a solution
- for all
- Since , for all
- is a preimage of
Euler’s Phi Function
THEOREM: Let be pairwise relatively prime. Let . Then .
- is bijective
THEOREM: If for distinct primes and integers , then .
EXAMPLE:;
EXAMPLE: For , and satisfy the following properties.
- Closure:
- Associative:
- Identity:
- Inverse:
- Commutative:
Group
DEFINITION: A group is a set together with a binary operation on such that
- Closure:
- Associative:
- Identity:
- Inverse:
DEFINITION: A group is said to be an Abelian group if it is
- Commutative:
Group
THEOREM: is an Abelian group for any integer .
- Closure:
- Associative:
- Identity element:
- Inverse: such that
- Commutative:
REMARK: we are interested in two types of Abelian groups
- Additive Group: binary operation ; identity
- Example:
- Multiplicative Group: binary operation ; identity //
- Example:
Order
DEFINITION: The order of a group is the cardinality of .
DEFINITION: when , , the order of is the least integer such that ( for additive group)
EXAMPLE: Determine the orders of all elements of and
THEOREM: Let be a multiplicative Abelian group of order . Then for any , .
- If , then .
这定理证明过程有点绕
原来群论和密码学是这么联系的
我也对密码学感兴趣
原来群论在密码学里这么重要
原来模运算和群论是这么联系的
原来群论和模运算是一回事儿啊
原来中国剩余定理还能这么用
这例题步骤太详细了,适合我这种数学渣
同款数学渣握手
原来RSA密码学基础在这
原来欧拉函数和群论是这么关联的
这个关联确实挺有意思
那个s1=-1到底咋算出来的?扩展欧几里得没讲清楚啊
群论定义背了八百遍还是用不利索,考试必挂科
RSA底层原理就是靠这个吗?求个通俗解释
之前搞分布式ID生成时真用过CRT,调试到凌晨三点😭
中间确实缺了好几步,扩展欧几里得那步没写
例题凑数字痕迹太重,完全不像自然推导
这堆公式看得我直接晕过去,数论太难了😵
θ映射那块跳太快了,中间逻辑断了
群论定义背了又忘,不如直接上代码例子
例题里s1=-1咋来的?扩展欧几里得没写清楚啊
RSA底层是不是靠这个?求个通俗解释
之前搞分布式ID时真用过CRT,调试到凌晨三点😭
这堆符号看得我眼睛疼,能不能画个图?
模7余2、模3也余2,那x=2不就满足俩?但模5不对…还得接着试
这堆定理证明看得眼睛疼,不如直接给代码实现来得实在。
模7余2、模3也余2,x-2是21倍数?试到23就停了?万一有更小的呢?
θ映射到底是不是同构?光说双射不够吧…
光双射确实不够啊,得保持运算结构才算同构吧?
bijection证明那段直接略过,反正最后能算出结果就行。
同余方程组实际项目里真用过,搞分布式ID生成时踩过坑。
欧拉函数那块突然乘起来看得我一愣,前面没提积性啊?
23那个解代进去验算对就行,过程跳就跳吧,反正作业抄答案不香吗🤔
完全看不懂θ映射那部分在干啥,懵了。
模运算这块老是搞混,心态崩了🤯
之前搞过同余方程组,确实折腾了好久。
密码学里 RSA 是不是就靠这个?求指路。
这定理证明过程看得头大,想弃疗。
原来中国剩余定理还能这么用
同感,确实很巧妙
这定理证明过程看得头大