A Mathematician Answers a 150-Year-Old Chess Problem

The n-queens problem is about finding how many different ways queens can be placed on a chessboard so that none attack each other.