MathDB
numbers z, z+p and z+q

Source: Bundeswettbewerb 2003, Second Stage, problem 4

January 17, 2004
number theory solvednumber theory

Problem Statement

Let pp and qq be two positive integers that have no common divisor. The set of integers shall be partioned into three subsets AA, BB, CC such that for each integer zz in each of the sets AA, BB, CC there is exactly one of the numbers zz, z+pz+p and z+qz+q. a) Prove that such a decomposition is possible if and only if p+qp+q is divisible by 33. b) In the case we omit the restriction that pp, qq may not have a common divisor, prove that for pqp \neq q the number p+qgcd(p,q)\frac{p+q}{\gcd(p,q)} is divisible by 3.