olymmath

OIM 2012

Iberoamerican Mathematical Olympiad 2012.

Other problems

Problem 1

Let ABCDABCD be a rectangle. Construct equilateral triangles BCXBCX and DCYDCY , in such a way that both of these triangles share some of their interior points with some interior points of the rectangle. Line AXAX intersects line CDCD on PP , and line AYAY intersects line BCBC on QQ . Prove that triangle APQAPQ is equilateral.

Problem 2

A positive integer is called shiny if it can be written as the sum of two not necessarily distinct integers aa and bb which have the same sum of their digits. For instance, 20122012 is shiny, because 2012=2005+72012 = 2005 + 7 , and both 20052005 and 77 have the same sum of their digits. Find all positive integers which are not shiny (the dark integers).

Problem 3

Let nn to be a positive integer. Given a set {a1,a2,…,an}\{ a_1, a_2, \ldots, a_n \} of integers, where ai∈{0,1,2,3,…,2n−1},a_i \in \{ 0, 1, 2, 3, \ldots, 2^n -1 \}, ∀i\forall i , we associate to each of its subsets the sum of its elements; particularly, the empty subset has sum of its elements equal to 00 . If all of these sums have different remainders when divided by 2n2^n , we say that {a1,a2,…,an}\{ a_1, a_2, \ldots, a_n \} is nn -complete.

For each nn , find the number of nn -complete sets.