I want to find a valid polynomial for a finite field $\mathbb{Z}_p[x]_{f(x)}$ with $d=deg(f(x))$. For this definition to hold, it can be deduced that $p$ must be prime and the polynomial $f(x)$ irreducible, which is equivalent to the following condition:
$$f(k)\neq0\enspace\forall k\in\mathbb{Z}_p[x]_{f(x)}$$
Then, we can use the form of $f(x)=a_0\cdot x^{d}+a_1\cdot x^{d-1}+\cdots+a_{d}$ to establish a set of conditions like:
$$f(0)=a_0\cdot 0+a_1\cdot 0+\cdots+a_{d}\implies a_{d}\not\equiv0\pmod{p}$$ $$f(1)=a_0\cdot 1+a_1\cdot 1+\cdots+a_{d}\implies \sum_{i=0}^{d} a_{i}\not\equiv0\pmod{p}$$ $$\vdots$$ $$f(p-1)=a_0\cdot (p-1)^{d}+a_1\cdot (p-1)^{d-1}+\cdots+a_{d}\implies \sum_{i=0}^{d} a_{i}\cdot(p-1)^{d-i}\not\equiv0\pmod{p}$$
So, is there any way to obtain the coefficients $a_{i}$ of the polynomial trough a closed form that spans every valid solution with an approach similar to the above conditions?