Primitive Root(Part I)

原始根在模算术中扮演重要角色,它使得每个与模数互质的数都能表示为它的幂。本文介绍了模数的阶、原始根的定义及相关定理,包括定理1.1、1.2和2.1至2.3,展示了它们在解决数论问题中的应用,如婴儿步巨人步算法。
摘要由CSDN通过智能技术生成

from wikipedia:

In modular arithmetic, a number g is a primitive root modulo n if every number a coprime to n is congruent to a power of g modulo n. That is, g is a primitive root modulo n, if for every integer a coprime to n, there is some integer k for which gk ≡ a (mod n). Such a value k is called the index or discrete logarithm of a to the base g modulo n. Note that g is a primitive root modulo n if and only if g is a generator of the multiplicative group of integers modulo n.

The concept of promitive root is widely used in many algorithms to solve problems in number theory, including the famous Baby-Step Giant-Step algorithm.

Prerequisite Knowledge

orders of elements

f o r   g ∈ Z , m ∈ N ∗ , i f gcd ⁡ ( g , m ) = 1 , w e   d e f i n e   n ,  the smallest positive interger that satisfies  g n ≡ 1 ( m o d m ) to be the order of g modulo m 。 for\space g\in \mathbb{Z},m\in\mathbb{N}^{*},if \gcd(g,m)=1,we\space define\space n,\\ \text{ the smallest positive interger that satisfies }g^n\equiv 1\pmod m\\ \text{to be the order of g modulo m} 。 for gZmNifgcd(g,m)=1we define n, the smallest positive interger that satisfies gn1(modm)to be the order of g modulo m
that is
o r d ( g ) = ϵ m ( g ) = m i n { n ∈ N : g n ≡ 1 ( m o d   m ) } ord(g) =\epsilon_m(g) = min\lbrace n ∈ N : g ^n ≡ 1 (mod\ m)\rbrace ord(g)=ϵm(g)=min{ nN:gn1(mod m)}

Theorem 1.1

g , g 2 , ⋯   , g ϵ m ( g ) g,g^2,\cdots,g^{\epsilon_m(g)} g,g2,,gϵm(g) gives different remainder modulo m m m.

Proof by contradiction:

Suppose we have i , j ∈ [ 1 , ϵ m ( g ) ] , i ≠ j i,j\in [1,\epsilon_m(g)],i\neq j i,j[1,ϵm(g)],i=j and g i ≡ g j ( m o d   m ) g^i≡g^j(mod\ m) gigj(mod m), we would have

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值