正文
增加 4 行删除 4 行
16 行未改动171819202122232425219 行未改动全部展开245246247248249250251252253140 行未改动全部展开394395396397398399400401402119 行未改动全部展开522523524525526527528529530202 行未改动全部展开16 行未改动\text{Lemma 1.1}:q \bot p-q$$不妨假设 $\gcd(q,p-q)=d\neq 1$ 。那么有 $d \mid p-q$ 且 $d \mid q$ ,则 $d \mid p$ ,即 $gcd(p,q)\neq 1$ ,与 $p\bot q$ 冲突,那么假设不成立。定理得证。### 乘法逆元$$219 行未改动全部展开### 扩展欧拉定理$$\text{Theorem 2.3}:a^b \equiv\begin{cases}a^b &(b<\varphi(m))\\a^{b\bmod \varphi(m)+\varphi(m)} &(b\geq \varphi(m))\\\end{cases}140 行未改动全部展开### 积性函数对于数论函数 $f$ ,若 $\forall a\bot b$ ,有 $f(a\times b)=f(a)\times f(b)$ ,则称 $f$ 是积性函数。若 $\forall a,b \in \mathbb {N^*}$ ,有 $f(a\times b)=f(a)\times f(b)$ ,则称 $f$ 是完全积性函数。对于积性函数 $f$ ,我们通常研究其在素数和素数的幂上的取值。### 一些函数119 行未改动全部展开&=\sum_{k=1}^n\sum_{d\mid k}f(\frac kd)\times g(d)\\&=\sum_{d=1}^n\sum_{k=1}^{\lfloor n\div d \rfloor} f(k) \times g(d)\\&=\sum_{d=1}^ng(d)\times F(\left\lfloor\frac nd\right\rfloor)\\&=\sum_{d=2}^ng(d)\times F(\left\lfloor\frac nd\right\rfloor)+g(1)\times F(n)\\\end{aligned}$$则:$$202 行未改动全部展开16 行未改动171819202122232425219 行未改动全部展开245246247248249250251252253140 行未改动全部展开394395396397398399400401402119 行未改动全部展开522523524525526527528529530202 行未改动全部展开16 行未改动\text{Lemma 1.1}:q \bot p-q$$不妨假设 $\gcd(q,p-q)=d\neq 1$ 。那么有 $d \mid p-q$ 且 $d \mid q$ ,则 $d \mid p$ ,即 $gcd(p,q)\neq 1$ ,与 $p\bot q$ 冲突,那么假设不成立。定理得证。### 乘法逆元$$219 行未改动全部展开### 扩展欧拉定理$$\text{Theorem 2.3}:a^b \equiv\begin{cases}a^b &(b<\varphi(m))\\a^{b\bmod \varphi(m)+\varphi(m)} &(b\geq \varphi(m))\\\end{cases}140 行未改动全部展开### 积性函数对于数论函数 $f$ ,若 $\forall a\bot b$ ,有 $f(a\times b)=f(a)\times f(b)$ ,则称 $f$ 是积性函数。若 $\forall a,b \in \mathbb {N^*}$ ,有 $f(a\times b)=f(a)\times f(b)$ ,则称 $f$ 是完全积性函数。对于积性函数 $f$ ,我们通常研究其在素数和素数的幂上的取值。### 一些函数119 行未改动全部展开&=\sum_{k=1}^n\sum_{d\mid k}f(\frac kd)\times g(d)\\&=\sum_{d=1}^n\sum_{k=1}^{\lfloor n\div d \rfloor} f(k) \times g(d)\\&=\sum_{d=1}^ng(d)\times F(\left\lfloor\frac nd\right\rfloor)\\&=\sum_{d=2}^ng(d)\times F(\left\lfloor\frac nd\right\rfloor)+g(1)\times F(n)\\\end{aligned}$$则:$$202 行未改动全部展开