MathDB
Writing Number on Balls

Source: 2016 Korea Winter Program Test2 Day1 #3

January 25, 2016
combinatoricscombinatorics proposed

Problem Statement

p,q,rp, q, r are natural numbers greater than 1.
There are pqpq balls placed on a circle, and one number among 0,1,2,,pr10, 1, 2, \cdots , pr-1 is written on each ball, satisfying following conditions.
(1) If ii and jj is written on two adjacent balls, ij=1|i-j|=1 or ij=pr1|i-j|=pr-1. (2) ii is written on a ball AA. If we skip q1q-1 balls clockwise from AA and see qthq^{th} ball, i+ri+r or i(p1)ri-(p-1)r is written on it. (This condition is satisfied for every ball.)
If pp is even, prove that the number of pairs of two adjacent balls with 11 and 22 written on it is odd.