Extremal Graphs for the Lights Out Problem
Abstract
Lights Out is a game played on a graph where every vertex has a light bulb that is either on or off, and pressing a vertex toggles the state of every vertex in the closed neighborhood of . The goal is to find a subset of vertices such that pressing every vertex in 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 -vertex extremal graphs and the set of symmetric invertible matrices of size over . We prove that any even graph with no cycle of length 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.
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}
}