Queens on a prime order board
Read OriginalThis article discusses the n queens problem, specifically when n is a prime number greater than or equal to 5. It explains that placing queens on lines of slope 2, 3, ..., n-2 (mod n) on a toroidal board (where opposite edges are joined) yields solutions. While all solutions for n=5 have this form, larger primes like 7 have solutions where queens do not all lie on a constant slope line. The post includes references and links to related topics like SAT formulations and chess puzzles.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser
Top of the Week
No top articles yet