Problem

ALG-B3-M06-P020 A Functional Equation Modulo a Prime

#20 Grade 10 Grade 11 ★★★★★ Level 5 of 5

Let \(p\) be an odd prime and let \(f:\mathbb Z/p\mathbb Z\to\mathbb Z/p\mathbb Z\) satisfy \(f(x+f(y))=f(x)+y\) for all residues \(x,y\). Find \(f\).