模逆元,擴展歐幾里得
<script src="https://gist.github.com/KagariET01/05005b50a78769134bd75116e19f8b3d.js"></script>快速冪
<script src="https://gist.github.com/KagariET01/0ed62673c7e09ca9175d52ea43f54e9f.js"></script>質數表
<script src="https://gist.github.com/KagariET01/77ef3442f972dec64522b39beb3b7884.js"></script>