Problem

NT-B2-M02-P004 A Square Plus One

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

Find all residues \(n\pmod5\) such that \(5\mid n^2+1\).