Write b:

Notice that satisfies the following recurrence:

where just if .

NB: which are formulas of size (so, in particular, linear-size circuits).