Given the following formula for $x_n$ in terms of $x_{n-1}$ and $a_{n-1}$. Find a explicit formula for $x_n$ in terms of $x_0$, and all $a_k$.
$$ x_n = \frac{x_{n-1}2^{a_{n-1}} - 1}{3} $$
For example when n = 1, the formula is as follows.
$$ x_1 = \frac{x_{0}2^{a_{0}} - 1}{3} $$
When n=2, it is the following.
$$ x_2 = \frac{x_0 2^{a_0 + a_1} - 2^{a_1} - 3}{9} $$
So, in summary, I want to find an explicit formula for $x_n$ in the general case for any $n$.