Moldova, First Team Selection Test for IMO and BMO, 2008, March 3.

Here goes the pdf file. Time allowed – 4 hours 30 mintues. Each problem is worth 7 points.
Moldova, First Team Selection Test for IMO-BMO 2008, March 3
Problem 1
Let be a prime number. Solve in the equation .
Problem 2
We say the set has property if it can be split into disjoint triples, so [...]