Let $n \geq 2$ be a given integer. At any point $(i, j)$ with $i, j \in\mathbb{ Z}$ we write the remainder of $i+j$ modulo $n$. Find all pairs $(a, b)$ of positive integers such that the rectangle with vertices $(0, 0)$, $(a, 0)$, $(a, b)$, $(0, b)$ has the following properties: (i) the remainders $0, 1, \ldots , n-1$ written at its interior points appear the same number of times; (ii) the remainders $0, 1, \ldots , n -1$ written at its boundary points appear the same number of times.
Problem
Source: Bulgaria MO 2001 Day 2 Problem 1
Tags: geometry, rectangle, combinatorics proposed, combinatorics
04.02.2015 16:44
I think the answer is $(kn+1, ln-1)$ for every $k\ge l$ and the opposite one.
05.02.2015 09:20
And what's wrong with $(k n, \ell n)$?
05.02.2015 10:04
mavropnevma wrote: And what's wrong with $(k n, \ell n)$? For $n=2$, try $(2, 2)$. There is one $0$ and no $1$ in the interior part.
05.02.2015 10:24
True (it doesn't work for any $n$); sorry - I have missed taking the residues on some entries.
24.08.2016 11:05
Any complete solution?!
22.12.2016 23:21
06.05.2019 20:18
06.05.2019 21:12
I think this is quite the same result
07.09.2021 15:57
This problem is inspired from the famous coloring problem with $n$ colours. One of the numbers being congruent to $-1$ was direct from the result and the other comes from simple divisibility from $(ii)$. Then ,we are done since the construction is direct.