When identical polygons are joined in a row and neighboring polygons share one full side, the first polygon uses all its sides. Every later polygon reuses one existing side, so it contributes one fewer new stick. For octagons, the first uses sticks and the remaining octagons add each:
A row of regular octagons is made from equal matchsticks. Each octagon after the first shares one complete side with the previous octagon. How many matchsticks are used altogether?
One octagon has sides, so it needs matchsticks.
A new octagon shares one side already present in the row. It therefore needs only new sticks. There are octagons after the first.
If the octagons were separate, they would use sticks. The row has joins. At each join, two separately counted sides become one physical stick, so subtract :
Both methods agree.
For octagons in such a row:
Screenshot any problem on your screen and get the steps. Chrome on a computer; free.