Problem

NT-B1-M11-P013 Residues of an Expression

#13 Grade 8 Grade 9 ★★★☆☆ Level 3 of 5

Find all residues \(n\pmod7\) for which \(7\mid n^2+n+1\).