Rosetta Problems

 mod P\bmod P での KK 乗根

K,YK, Y と素数 PP が与えられ、XK≡Y(modP)X^K \equiv Y \pmod{P} を満たす XX を求める。

関連リンク