Take a test Sign in 中文
← Exercise 560 →
Search
Go to
{{searchResults.length}} {{searchResults.length === 1 ? 'result' : 'results'}} for “{{searchWords}}” No results found for “{{searchWords}}” × back to contents
Contents · by chapter
Basic Counting (147)
Balls in Boxes (6)
Probability (142)

Exercises and their solutions

Exercise 560
A dotted grid is $6$ cells wide and $3$ cells tall. Carl places toothpicks along sides of the cells to form a closed loop that does not intersect itself, so that each of the $6$ cells in the middle row has exactly one side covered (the other cells have no restriction). In how many ways can he do this?
← Back to Problem 560
Solution
  1. Put the grid at $0\le x\le6$, $0\le y\le3$, so the middle row is $1\le y\le2$. The loop crosses the middle row an even number of times along its $7$ vertical toothpicks, and two crossings already cover the sides of all cells next to them, so it uses $0$ or $2$ of them.
  2. With none, the loop lies entirely above or entirely below the middle row and must cover all $6$ top or all $6$ bottom sides of the middle cells: it is the boundary of the top row or of the bottom row, $2$ loops.
  3. With two, at $x=p<q$, the loop is these toothpicks plus a path above and a path below joining their ends. A path cannot cover a cell beyond a vertical toothpick and come back, so every cell outside must touch one: $p\in\{0,1\}$ and $q\in\{5,6\}$.
  4. Each middle cell between the toothpicks that touches neither gets exactly its top or exactly its bottom side, and these choices determine the paths. There are $4$ such cells for $(p,q)=(0,6)$, $3$ for $(0,5)$ and $(1,6)$, and $2$ for $(1,5)$.
  5. Total: $2+2^4+2\cdot2^3+2^2=\boxed{38}$.
Search Go to Prev      Next

Contact Us

Thanks! Your message has been sent.
By year