Consider an $n$ tuple. Each index of the tuple is filled with a symbol chosen from the following set comprising of four symbols: \begin{equation} S = \{a, b, c, d\}. \end{equation}
Note that there are $4^{n}$ possible fillings.
I want to count the number of possible tuples such that $b$-s, $c$-s, and $d$-s all occur in it an even number of times (not necessarily the same even number for each.)
For example, if $n = 4$, then $bbba$ is not a valid tuple --- as it has $3$ $b$-s, which is an odd number. However $bb cc$ is a valid tuple — as both $b$ and $c$ occur an even number of times.
For $n = 2$, the valid choices are $aa, bb, cc, dd$.
Hence, the number of such tuples is $4$.
For $n = 3$, the valid choices are $aaa, abb, acc, add, bba, cca, dda, bab, cac, dad$.
So, $10$ choices.
Is there a general pattern?
Imagine that $a,b,c,d$ are variables. Then the polynomial $(a+b+c+d)^n$, when expanded out, lists precisely the $4^n$ possible tuples. (This would be exactly true if the variables didn't commute. Expanding as a usual polynomial will gather all the tuples with the same numbers of $a$s, $b$s, $c$s, and $d$s; fortunately the property we care about is fine with that.)
For each such monomial, if we plug in $b=1$ and then $b=-1$ and sum, then we get $0$ if the monomial has an odd number of $b$s and a contribution of $2$ of the (slightly simplified) monomial if it has an even number of $b$s. The same holds true with $c$ and $d$; and we can simply set $a=1$ to not care about its parity. Therefore the number of such tuples is exactly $$ \frac18 \sum_{b\in\{-1,1\}} \sum_{c\in\{-1,1\}} \sum_{d\in\{-1,1\}} (1+b+c+d)^n = \frac{4^n+3\cdot 2^n+(-2)^n}8. $$ This appears to be sequence A032121 in the Online Encyclopedia of Integer Sequences, which definitely refers to $n$-tuples on a $4$-symbol alphabet, although the property seems different from what is described here.