If we assume $T(n)$ to be the function representing the case where we have even number of $0$'s then $T(1)=3$ precisely strings $1, 2$ and $3$. $T(2)= 10$ ($00,11,22,33,12,21,13,31,23,32$). Likewise I got $T(3)=36$ and $T(4)=124$.
Now how to proceed from here?
Comment:
Valid strings consist of zero or more occurrences of $1$ or $2$ or $3$ or
when we start with a $0$ it has to be followed by another $0$ possibly with zero or more occurrences of $1,2$ or $3$ in between.
This was the hard part, namely finding an appropriate regular expression. Everything what follows is a matter of technique.
Using the notation from P. Flajolet's and R. Sedgewicks Analytic Combinatorics with the sequence $SEQ(x)$ defined as \begin{align*} SEQ(x)=1+x+x^2+\cdots=\frac{1}{1-x} \end{align*}
We use the coefficient of operator $[x^n]$ to denote the coefficient of $x^n$ of a series.