Living in NY, I came across this situation.
From Point A, to Point B, if I want to go by walk, how many routes are possible?
Example: Grand Central to Port Authority.
Grand Central is on 43rd and Park Ave. Port Authority is on 8th Ave and 41 st Street.
There are five avenues between Park and 8th (Madison,5th,6th,7th and 8th).
Is there a formula to find out how many routes are feasible to walk between two points in NY?
If you can get from Grand Central to Port Authority in at least two ways such that these routs don't share any point along the way, then you simply add all the possible routs. Otherwise, multiply.