正文
增加 2 行删除 2 行
37 行未改动3839404142434445464748495051525354555642 行未改动37 行未改动### 定义:若$$gcd(a,m)=1$$则$$a^{\phi(m)}\equiv1\pmod{m}$$证明略## 扩展欧拉定理### 定义:$$a^b \equiv\begin{cases}a^{b \mod{\phi(m)}} \ \ \ \ \ \ \ \ gcd(a,m)=1\\a^b \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ gcd(a,m)\ne1,b<\phi(m)\ \ (mod\ m)\\a^{b\ mod\ \phi(m)+\phi(m)} \ \ \ \ \ \ \ gcd(a,m)\ne1,b\ge\phi(m)\\\end{cases} $$42 行未改动37 行未改动3839404142434445464748495051525354555642 行未改动37 行未改动### 定义:若$$gcd(a,m)=1$$则$$a^{\phi(m)}\equiv1\pmod{m}$$证明略## 扩展欧拉定理### 定义:$$a^b \equiv\begin{cases}a^{b \mod{\phi(m)}} \ \ \ \ \ \ \ \ gcd(a,m)=1\\a^b \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ gcd(a,m)\ne1,b<\phi(m)\ \ (mod\ m)\\a^{b\ mod\ \phi(m)+\phi(m)} \ \ \ \ \ \ \ gcd(a,m)\ne1,b\ge\phi(m)\\\end{cases} $$42 行未改动