Exercise

Let x be a nonzero element of Z/pZ, p prime. Consider the pattern D consisting of pairs (i, xi - 1), with 0 < i < p. Which of the following is true?

The pattern D is always optimal.

The pattern is optimal if and only if x is a primitive element.

There are nonprimitive x for which the pattern is optimal.