Consider the number of finite sequences of 's and 's such that each sequence that starts at , has exactly n 's and 's, and there are not three consecutive 's or three 's. Show that if , then
CR-MO 2018
Costa Rica national mathematics olympiad 2018.
Other problems
Let be the center of the circle circumscribed to , and let be any point on ( and ). Suppose that the circle circumscribed to intersects at ( and ) and that the circle circumscribed to intersects at point ( and ).
- Show that and that is orthocenter of .
- Show that the circles circumscribed to the triangles , , and all have the same radius.
Consider , with bisecting , on segment . Let be a point on , such that . Through we draw the line parallel to and consider a point on it and inside the . Let be the point where line cuts side and let F be the point where line to side . Show that .
In the accompanying figure, semicircles with centers and have radii and , respectively. Furthermore, they are internally tangent to the circle of diameter . Also the semicircles with centers and are externally tangent to each other. The circle with center is internally tangent to the semicircle with diameter and externally tangent to the others two semicircles. Determine the value of the radius of the circle with center .

Prove that there are only two sets of consecutive positive integers that satisfy that the sum of its elements is equal to .
Determine all triples of nonnegative integers that satisfy:
Let be a prime number such that . Show that is a prime.