5
votes
3answers
282 views

How do we solve Eight Queens variation using primes?

Using a $p_n $x $p_n$ matrix, how can we solve the Eight queens puzzle to find a prime in every row and column? ...
28
votes
2answers
595 views

Tiling a square

I wondered if there was a way to automate the process of finding a way to tile a tile into a square. The idea is to represent the tile with a matrix of 0s for blank space and 1s for filled spaces ...