\[f(p-3)-zf(p-1)+(p-1)f(p)=0.\]