Henry Ernest Dudeney/Puzzles and Curious Problems/262 - A Monmouth Tombstone/Solution

by : $262$

 * A Monmouth Tombstone

Solution

 * $45 \, 760$, unless you are allowed to go diagonally, in which case it is $91 \, 520$.

Proof
Let us count the routes on one quadrant of this tombstone.

The total number of routes is then found by multiplying this by $4$.

Thus:
 * $\begin{array} \\

\mathbf H & E & R & E & L & I & E & S & J & O \\ E & R & E & L & I & E & S & J & O & H \\ R & E & L & I & E & S & J & O & H & N \\ E & L & I & E & S & J & O & H & N & R \\ L & I & E & S & J & O & H & N & R & E \\ I & E & S & J & O & H & N & R & E & N \\ E & S & J & O & H & N & R & E & N & I \\ S & J & O & H & N & R & E & N & I & E \\ \end{array}$

Let the number of routes from the $H$ to the $E$ at bottom right be $N$.

It is clear by inspection that, in order to spell the epitaph, you need to step one to the right or one down in order.

There is one way to travel to each letter along the top and down the left hand side.

Suppose you are at a given letter $x$.

Then you can get there from the letter to the left or from the letter above.

Hence the number of ways to get to letter $x$ is the sum of the ways from the left or above.

Hence the number of routes to a given letter are given by the entries in Pascal's triangle with the $1$ at the top left corner.

There are $16$ steps to the bottom right, which is reached by going $9$ across and $7$ down.

Hence:

Hence the total number of ways the epitaph can be spelt is $4 \times 11 \, 440 = 45 \, 760$.

Suppose you are allowed to go diagonally.

Then when you get to the last $I$, you have a choice as to go either to the final $E$ in the corner, or backwards diagonally to the $E$ behind you.

Hence for every fully orthogonal route there is another using that diagonal.

Hence there are twice as many paths than orthogonal-only routes.

That is:
 * $2 \times 45 \, 760 = 91 \, 520$