OFFSET
1,2
COMMENTS
This is a three-player variation of the two-player game on a square spiral (A392177).
Also, a variation of the three-player game on a square spiral (A395645), except that here players can be protected from certain other players' attacks. We use the simplest version: a cyclic protection where Red is protected from Green (only opposed by Blue), Green is protected from Blue (only opposed by Red), and Blue is protected from Red (only opposed by Green). If a player of color i is protected from a player of color j, then i may place pieces in cells under attack by Player j, effectively ignoring the threats from their attacks. Pieces may never be placed in occupied cells and pieces are never removed.
As the number of terms grows, the occupied cells form undulating bands that radiate outward from the center, with the three players' pieces alternating between bands. These regular bands are interspersed with irregular regions where pieces from all three players intermix (see linked illustrations).
LINKS
Michael S. Branicky, Table of n, a(n) for n = 1..10000
Michael S. Branicky, Python program for OEIS A396330, A396331 and A396332
Nick J. Nauta, The spiral after the first 1000 rounds
Nick J. Nauta, The spiral after the first 10000 rounds
Nick J. Nauta, The spiral after the first 100000 rounds
Nick J. Nauta, The spiral after the first 1000000 rounds
EXAMPLE
The spiral begins:
G--G--R--B--*--B--G--*--*--B--B G
| | |
B R--B--*--G--*--R--B--B--G R B
| | | | |
* G B--G--R--*--B--G--R B B *
| | | | | | |
B * R B--B--G--R--R B R R B
| | | | | | | | |
R G * R G--R--B * * R B *
| | | | | | | | | | |
G R * * B R--G R * G R R
| | | | | | | | | |
R G B R R--G--B--B G * * G
| | | | | | | |
B B R G--B--G--R--G--B G G R
| | | | | |
R G B--*--R--*--G--G--B--G B R
| | | |
B R--*--B--G--*--*--*--R--G--G R
| |
R--B--R--B--G--*--R--G--R--G--R--G
PROG
(Python) # See Links section.
CROSSREFS
KEYWORD
AUTHOR
Nick J. Nauta, May 22 2026
STATUS
approved
