Art of Problem Solving
During AMC 10A/12A testing, the AoPS Wiki is in read-only mode and no edits can be made.

1977 Canadian MO Problems/Problem 7

Problem

A rectangular city is exactly $m$ blocks long and $n$ blocks wide (see diagram). A woman lives on the southwest corner of the city and works in the northeast corner. She walks to work each day but, on any given trip, she makes sure that her path does not include any intersection twice. Show that the number $f(m,n)$ of different paths she can take to work satisfies $f(m,n)\le 2^{mn}$.

$\underbrace{ \left. \begin{array}{|c|c|c|c|c|c|c|c|c|c|c| }      \hline      &&&&&&&&&& \\ \hline      &&&&&&&&&& \\ \hline      &&&&&&&&&& \\ \hline      &&&&&&&&&& \\ \hline      &&&&&&&&&& \\ \hline      &&&&&&&&&& \\ \hline      &&&&&&&&&& \\ \hline \end{array} \right\}n}_m$

Solution