Skip to main navigation Skip to search Skip to main content

Counting Star-Battle Configurations

Research output: Contribution to journal › Article › peer-review

Abstract

Given an n× n grid of cells, a valid configuration for the Star-Battle problem is a subset of 2 n cells—those containing ‘stars’—such that each row and each column contains exactly two stars, and no two stars are orthogonally or diagonally adjacent. The standard Star-Battle game assumes a plane topology in which stars bordering opposite edges of the board are nonadjacent. We present an algorithm for counting the number of distinct valid configurations as a function of n, for plane, cylindrical, and toroidal board topologies. We have run our algorithm up to n= 15 , for which the number of valid configurations is equal to 106,280,659,533,411,296 for the plane topology, and somewhat less for the cylindrical and toroidal topologies.

Original languageEnglish
Article number8
JournalMathematics in Computer Science
Volume17
Issue number2
DOIs
StatePublished - Apr 24 2023

Bibliographical note

Publisher Copyright:
© 2023, The Author(s), under exclusive licence to Springer Nature Switzerland AG.

ASJC Scopus Subject Areas

  • Computational Mathematics
  • Computational Theory and Mathematics
  • Applied Mathematics

Keywords

  • Constraint satisfaction
  • Counting solutions
  • Games

Fingerprint

Dive into the research topics of 'Counting Star-Battle Configurations'. Together they form a unique fingerprint.

Cite this