素数模的同余式简化

f(x)=anxn++a1x+a00(modp),an≢0(modp)f\left(x\right)=a_nx^n+\cdots+a_1x+a_0\equiv0\left(\mod p\right) ,a_n\not\equiv0\left(\mod p\right)

f(x)=q(x)(xpx)+r(x)f\left(x\right)=q\left(x\right)\left(x^p-x\right)+r\left(x\right) f(x)0(modp)r(x)0(modp)f\left(x\right)\equiv0\left(\mod p\right)\Longleftrightarrow r\left(x\right)\equiv0\left(\mod p\right)

最后更新于