- #1
nickek
- 21
- 1
Hi!
If I have points A and B in a lattice in the plane, and the closest path between them is n + m steps (for example 4 steps upwards and 5 steps to the right), there are C(9,(5-4)) = 9 combinations of paths between them. I have to choose the 4 ways upwards (or the 5 ways to the right) of the 9 total (there are just 2 possibilities in the node, so when I choose 1 of them I'm done).
But if the lattice is in the 3D space, and I have 3 choices in each node, how can I solve the number of paths in this case? E.g k + m + n = 3 steps inwards, 4 steps upwards and 5 steps tho the right. And what if we have a lattice in any dimension?
Thanks!
Nick
If I have points A and B in a lattice in the plane, and the closest path between them is n + m steps (for example 4 steps upwards and 5 steps to the right), there are C(9,(5-4)) = 9 combinations of paths between them. I have to choose the 4 ways upwards (or the 5 ways to the right) of the 9 total (there are just 2 possibilities in the node, so when I choose 1 of them I'm done).
But if the lattice is in the 3D space, and I have 3 choices in each node, how can I solve the number of paths in this case? E.g k + m + n = 3 steps inwards, 4 steps upwards and 5 steps tho the right. And what if we have a lattice in any dimension?
Thanks!
Nick