| Thread Closed |
Counting paths |
Share Thread | Thread Tools |
| Feb15-05, 08:50 AM | #1 |
|
|
Counting paths
Is there a concise, easily calculable way to count the sum of all the paths from the lower left corner of a square of integer size to the upper right corner where you only move up or right in steps of 1 unit, PLUS all the partial paths? i.e. if you have a city with roads in a 10x10 grid (100 intersections/corners) how many shortest paths are there from one corner of the grid to any other intersection or corner on the grid?
|
| Feb15-05, 01:07 PM | #2 |
|
Recognitions:
|
To get to the point m,n from 0,0 there are (m+n) choose n paths. |
| Feb15-05, 03:00 PM | #3 |
|
|
I know that. Adding them all up concisely is a harder problem.
|
| Feb15-05, 03:53 PM | #4 |
|
|
Counting paths
It's easy to sum the paths in the triangle bounded by (and including) the line y = x + 10--that's 2^10 - 1 since each diagonal row of intersections/corners (with negative slope) in that triangle corresponds to a row of Pascal's triangle, so you get 2^0 + 2^1 + ... + 2^9 which is 1111111111 in binary.
|
| Thread Closed |
| Thread Tools | |
Similar Threads for: Counting paths
|
||||
| Thread | Forum | Replies | ||
| Parametrizing Paths | Calculus | 3 | ||
| photon paths. | Special & General Relativity | 1 | ||
| Mean Free Paths | Advanced Physics Homework | 1 | ||
| Parabolic paths vs Elliptical paths. | General Physics | 4 | ||
| All possible paths | General Math | 3 | ||