Problem

NT-B2-M03-P012 An Equation for the Exponent

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

Find all positive integers \(n\) such that \(5^n\equiv1\pmod{31}\).