English

Extremal Graphs for the Lights Out Problem

Combinatorics 2026-02-10 v1

Abstract

Lights Out is a game played on a graph GG where every vertex has a light bulb that is either on or off, and pressing a vertex vv toggles the state of every vertex in the closed neighborhood of vv. The goal is to find a subset of vertices SS such that pressing every vertex in SS results in all light bulbs being turned off. We study the extremal graphs for which pressing every vertex is the unique solution to the lights out problem given an initial configuration of all lights on. We show that a graph is extremal if and only if it is even and has an odd number of matchings. Furthermore, there is a bijection between the set of labeled nn-vertex extremal graphs and the set of symmetric invertible matrices of size n2n-2 over F2\mathbb{F}_2. We prove that any even graph with no cycle of length 0(mod3)0\pmod 3 must be extremal. We also demonstrate operations that build larger extremal graphs from smaller ones. Along the way, we prove using the polynomial method that in any even graph, the number of matchings of a fixed size covering an odd subset of vertices is even.

Keywords

Cite

@article{arxiv.2602.07241,
  title  = {Extremal Graphs for the Lights Out Problem},
  author = {Julien Codsi and Sergio Cristancho and Alexander Divoux and Varun Sivashankar},
  journal= {arXiv preprint arXiv:2602.07241},
  year   = {2026}
}
R2 v1 2026-07-01T10:25:30.774Z