If we denote the starting position
by the root node
in a tree graph, each Left option by a arrow pointing
towards the left to nodes representing
a new positions
, each Right option by an arrow pointing
towards the right to nodes representing
a new positions
, then the numerical notation can be drawn as follows.
We define
In general, we define
where we may assume (by induction) that
We define
If
where we assume (by induction) that
It is clear from the definition that
We define
If
where we assume (by induction) that
If
is non-zero then we define
by
where we assume (by induction) that