This article shows how to solve the N queens problem in 20 lines of code.
There are seven mathematics problems called Millenium Prize Problems, each with a $1,000,000 bounty.