This is a question that appeared on the 2017 CEMC Galois math contest (which took place a few weeks ago):
A Koeller rectangle:
- Is a rectangle $m\times n$, n being a whole number with $m \geq 3$ and $n \geq 3$;
- has parallel lines on its side dividing the rectangle into $1\times 1$ squares;
- The squares on the edges are white and the ones inside are shaded.
The figure (see attached) is an example of a Koeller rectangle where $m= 8$ and $n= 6$.
Given a Koeller rectangle, r is the ratio between the shaded area and the non shaded area (shaded/non-shaded)
Determine all the possible prime numbers p for which there exists exactly 17 positive values for $u$ for Koeller rectangles with $n=10$ and $r=\frac{u}{p^2}$
Question (in French), and image of example Koeller rectangle:
https://i.stack.imgur.com/x8eC4.jpg
I answered that there are no such primes that satisfy the given conditions, but I'm almost certain that's incorrect. Could someone please explain to me how to solve this question?