The Courtyard Diagonals
A square courtyard is covered with identical square tiles laid in complete rows and columns: there are as many rows as columns. One day a painter paints red every tile lying on the two diagonals of the courtyard, from corner to corner. A tile where the two diagonals cross, if there is one, is painted only once.
When he finishes, the painter counts exactly 37 red tiles. How many tiles were left unpainted?
See solution
324 tiles were left unpainted.
Suppose the courtyard is n tiles on each side, so each diagonal has n tiles. If n is even, the diagonals share no tile and there would be 2n red tiles, an even number, so it cannot be 37. If n is odd, they share the central tile and there are 2n − 1 red ones. Then 2n − 1 = 37, so n = 19. The courtyard has 19 × 19 = 361 tiles, and 361 − 37 = 324 remain unpainted.