Consecutive Terms of Linear Recurrent Sequence Forum Problem Tutorials # 🇯🇵 (noshi91) 線形漸化式を持つ数列の連続する項を高速に計算する - noshi91のメモ 🇯🇵 X^N mod P(X) の計算 #アルゴリズム - Qiita Other Resources # 🇯🇵 (noshi91) https://noshi91.hatenablog.com/entry/2023/03/29/215553