Primitive Root Forum Problem Tutorials # 🇯🇵 (37zigen) 原始根のアルゴリズム – 37zigenのHP 🇬🇧 https://cp-algorithms.com/algebra/primitive-root.html