I have posted an earlier question: Finding the child node in the recombining binomial tree. Now I would like to find the parent of a node in recombining tree.
The tree looks like this:
Now I need to find that the node of $4$ has parent as $2$ and node of $5$ has a parent of both $2$ and $3$.
Using the answer given in Finding the child node qn, I can find the parents of $5$ in this way: $$⌈\dfrac{1}{2}*(−1+\sqrt{1+8*5})⌉=3-1$$(which is basically to remove from $5$ the columnnumber from previous row which is $2$) to get $3$ and $-1$ to get $2$. But the problem is for the nodes at the corner such as $4$ and $6$. Not sure how to get them.
Need some guidance on this.