BPATH
BPATH(t;n) provides a variate containing the numbers of the nodes on the branch to node n in tree t (includes n itself as the final element).