Problem

ALG-B3-M06-P016 Involution Modulo a Prime

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

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