Let's say I have an equation that's nested:
$$ \displaystyle x = f\left(f\left(f\left(f\left(f\left(i, a_4\right), a_3\right), a_2\right), a_1\right), a_0\right) $$
If I wanted to write this equation where it's nested from $a_k$ to $a_0$ without writing out all the terms, how would I denote it?
I can think of two possibilities. One is
$$ x = f(f(\cdots f(f(i, a_k), a_{k-1}), \ldots, a_1), a_0) $$
and the other is
$$ x = b_0 $$
where
$$ b_j = f(b_{j+1}, a_j) \qquad 0 \leq j < k $$ $$ b_k = f(i, a_k) $$