DR.WANG Mathematics中文

2025 Euclid · Question 10

Logic & proof · Combinatorial games · number-theory · parity

Problem outline

A triangular array of initially heads-up coins has row lengths 11 through nn. A move flips the three coins surrounding one elementary triangular face. Between rows rr and r+1r+1, number these faces from the left as T(r,1),…,T(r,2r−1)T(r,1),\ldots,T(r,2r-1). (a) Win in four moves for n=3n=3. (b) Can you win for n=4n=4? (c) Characterise all nn for which every coin can be left showing tails.

Show answer and methods 1 methods

Answer

(a) T(1,1),T(2,1),T(2,3),T(2,2)T(1,1),T(2,1),T(2,3),T(2,2). (b) No. (c) n≡0,2(mod3)n\equiv0,2\pmod3.

Method 1 Three colours and a two-move transfer

(a) Use each of the four small faces once, in the stated order. Each corner coin is flipped once and each of the three side-middle coins is flipped three times. All six coins finish tails up.

(b) Colour coin jj from the left in row rr by r+j−2r+j-2 modulo 33. Each move T(r,j)T(r,j) acts on one coin of each colour: the adjacent pair in one row and the third coin in the next row have three consecutive residues. Thus after any sequence of moves the numbers of tails on the three colours have the same parity. For four rows the numbers of coins are 4,3,34,3,3, with different parities, so a win is impossible.

(c) To prove sufficiency, start from the all-tails position and try to clear every tail. Flipping two faces that share an edge toggles only their two opposite vertices, which have the same colour. Any two coins of a fixed colour can be toggled together this way along a chain: choose faces containing them, walk through edge-adjacent faces, and at each crossing transfer the colour's representative from the old face to the new one. If the representative stays on the shared edge, use no move. Intermediate changes cancel.

When the three counts of tails have the same parity and n≥2n\ge2, pair off tails of each colour using these transfers. If one of each colour remains, transfer those three tails to the three vertices of a chosen face and flip it. Reversing this process reaches all tails from all heads.

Rows 3u+1,3u+2,3u+33u+1,3u+2,3u+3 start with colours 0,1,20,1,2, respectively. The first two rows of a block have 2u+12u+1 coins of each colour together. The third row adds u+1u+1 of each. A block stopped after its first row instead has one extra coin of colour 00. Thus the total counts agree for n≡0,2(mod3)n\equiv0,2\pmod3 and differ by one for n≡1(mod3)n\equiv1\pmod3, including n=1n=1. The parity criterion gives the result.

Source and attribution

The outline and worked methods on this page were prepared for DR.WANG Mathematics.

Original question (external)