the-honk/euler/thoughts/15 - Lattice paths.md

10 lines
312 B
Markdown
Raw Normal View History

2024-10-09 17:02:38 +00:00
For a lattice with dimensions m x n, all paths will have m + n segments. m segments go down, n segments go right. To count m + n slots, count the ways to pick m downward moves - the rest will be rightward moves.
![](assets/15.svg)
### LaTeX
```
{m + n \choose m} = {m + n \choose n} = \frac{(m+n)!}{m!n!}
```