17. Let S={(x1,x2,⋯,xn)∣0⩽xi⩽p−1,i=1,2,⋯,n}, then ∣S∣= pn. Consider the following sum:
T=(y1,y2,⋯,yn)∈S∑f(y1,y2,⋯,yn)p−1
Notice that, the degree of f(x1,x2,⋯,xn) is less than n, hence the degree of each term in the expansion of f(x1,x2,⋯,xn)p−1 is less than (p−1)n. Thus, when each term in T is expanded and like terms are combined, the term Ay1q1⋅y2q2⋅⋯⋅ynqn,αi∈N satisfies:
α1+α2+⋯+αn<(p−1)n
Therefore, for this term, there exists an i such that αi⩽p−2. Fixing y1,y2,⋯,yi−1,yi+1,⋯,yn and letting yi vary from 0 to p−1, using the conclusion from Example 1 in Section 3.2, we have:
yi=0∑p−1Ay1q1⋅y2q2⋯⋯ynqn≡0(modp)
Thus, ∑(y1,y2,⋯,yn)∈SAy1q1⋅y2q2⋅⋯⋅ynqn≡0(modp), and hence T≡0(modp).
On the other hand, by Fermat's Little Theorem, we know:
f(y1,y2,⋯,yn)p−1≡{1(modp),0(modp),f(y1,y2,⋯,yn)=0(modp),f(y1,y2,⋯,yn)≡0(modp).
Thus, from T≡0(modp), we know that the number of arrays (y1,y2,⋯,yn) in S such that f(y1,y2,⋯,yn)=≡(modp) is a multiple of p. Combining this with ∣S∣=pn, we obtain the desired conclusion.