DFA · Regular
Nim with five sticks
Two players take 1 or 2 sticks in turn, and whoever takes the last one wins. The accepted words are the games the first player wins. Every losing position for the player to move has a multiple of 3 sticks — the first player wins by taking 2, then always making the total taken in a round 3.
The author’s examples, run
122 → accept11111 → accept212 → accept221 → accept222 → reject21111 → reject112 → reject121 → reject