Daily Math Puzzle 2026/11/24

Original Post on X

English

There are \(n\geq2\) cards, with one card for each number from \(1\) to \(n\). Each card has the same number on both sides, with a white front and a black back. The cards are arranged in a row in some order, all with their white sides facing up. In one move, swap two adjacent cards and turn both of them over.

Prove that, after the cards have been rearranged in increasing order from left to right, the color facing up on each card is independent of the sequence of moves.

日本語

\(n\geq2\) 枚のカードがあり,両面に同じ番号が書かれ,表は白,裏は黒である. 番号は \(1\) から \(n\) まで一つずつで,カードはすべて白い面を上にして横一列に並んでいる. 1回の操作では,隣り合う2枚の位置を交換し,同時にその2枚を裏返す.

番号を左から小さい順に並べ直したとき,各カードの上を向く面の色は,操作の手順によらず決まることを示せ.

Try it