Take two positive integers and consider a rectangle of size in a grid of mesh size . It models our chocolate bar, and the cells of the mesh are the chocolate pieces.
Say that a "cut" of this bar consist in choosing a piece and a vertical or horizontal grid line, then splitting that piece into two smaller pieces along this line.

What is the minimal number of cuts needed to completely separate the chocolate bar into its pieces?
Hints
1Hint 1
Open this only if you want a small nudge before looking at the solutions.
Solutions
2Reveal solutionsAre you sure? Give it a try first.
Each cut increases the number of pieces by 1, no matter how you want to cut it ! Starting from a single piece, there needs to be cuts to reach pieces.
On découpe d’abord en colonnes (de dimensions ) ce qui nécessite découpes.
Puis, on découpe chaque colonne en carrés de dimensions , ce qui nécessite découpes pour chaque colonne.
On a donc réalisé au total : découpes
