Problem

NT-B2-M03-P014 General Fact for the Plus Sign

#14 Grade 8 Grade 9 Grade 10 ★★★★☆ Level 4 of 5

Let \(p\) be an odd prime, \(p\nmid a\), and \(p\mid a^n+1\). Prove that \( \operatorname{ord}_p(a) \) divides \(2n\), but does not divide \(n\).