Problem

Source: Romanian National Olympiad 2016, grade 12, problem 4

Tags: abstract algebra, Field theory



Let $K$ be a finite field with $q$ elements, $q \ge 3.$ We denote by $M$ the set of polynomials in $K[X]$ of degree $q-2$ whose coefficients are nonzero and pairwise distinct. Find the number of polynomials in $M$ that have $q-2$ distinct roots in $K.$ Marian Andronache