Class Photo
From Braingle.com
Jacob's class picture has 40 photos arranged in a 8 x 5 grid. The photos in the top row are numbered 1 through 8 from left to right, with the photos in the remaining rows similarly numbered (as shown below). Given the following clues (bordering includes horizontal, vertical, and diagonal), where is Jacob's picture?
X X X X X X X X (1 - 8)
X X X X X X X X (9 - 16)
X X X X X X X X (17 - 24)
X X X X X X X X (25 - 32)
X X X X X X X X (33 - 40)
1) There are 20 boys and 20 girls.
2) Each row and column has at least two girls, but no more than four girls.
3) Every girl borders at least one other girl.
4) Girls are located at positions that are prime numbers.
5) Boys are located at positions that are either squares or cubes.
6) Jacob is the only boy that borders a unique number of girls.
Get answer