[Math] Number of Ways to Break a Chocolate Bar

combinatorics

In how many ways can you break a off a rectangular piece of chocolate from a chocolate bar with m x n squares. [We must respect the structure of the chocolate bar, that is break only along horizontal or vertical lines.

Best Answer

HINT: An $m\times n$ bar has $m+1$ division lines in one direction, say horizontally, and $n+1$ in the other. To determine a rectangle, pick two horizontal and two vertical division lines. In how many ways can you do this?

Related Question