Exercise
The polynomials fi = j aij Xj, i = 0, 1, ..., n - 1, form a basis for the vector space S = R[X]/(d) if and only if
gcd(f0, f1, ...,fn - 1, d) = 1.
gcd(f0, f1, ...,fn - 1) = 1.
The determinant of the matrix (aij) is nonzero.