The generating function for the alternating sequence of 1's and 0's is composed by taking $(e^x +e^{-x})/2$.
This approach does not work for when we want the alternation to be based on $mod$ $3$. For ordinary generating functions, the general form of an equation for a sequence which is periodically 1 taken $ mod$ $n$ would be $ (1-x^{n})^{-1} $. We cannot do the same for exponential generating functions.
I have considered the triangular numbers, since those are naturally done $ mod $ $3$, but once again I failed to appropriate it to building a decent analytic generating function.
Here's a trick that works: Let $w$ be the primitive third root of unity. Then the real part of $w^k$ yields the sequence $1, -1/2, -1/2, 1, -1/2, -1/2,\dots$, which is almost what we want. Adding a second sequence to cancel the spurious $-1/2$'s solves the problem:
$$ \begin{eqnarray} \frac{1\cdot x}{0!}+\frac{0\cdot x}{1!}+\frac{0\cdot x}{2!}+\frac{1\cdot x}{3!}+\cdots & = & \frac{2}{3}\mathcal{Re}\left\{\sum_k \frac{(wx)^k}{k!}\right\} + \frac{1}{3}\sum_k \frac{x}{k!} \\ & = & \frac{2}{3}\mathcal{Re}\left\{e^{wx}\right\}+\frac{1}{3}e^x \\ & = & \frac{1}{3}\left(e^{wx}+e^{\bar{w}x} \right) + \frac{1}{3}e^x \end{eqnarray} $$