Find all functions such that for each natural integer and for all the following holds:
MK-MO 2017
North Macedonia national mathematics olympiad 2017.
Other problems
Find all natural integers such that is a square.
Let such that . Prove that:
Let be the circumcenter of the acute triangle ( ). Let and be the feet of the perpendicular lines drawn from and to , respectively. The lines and intersect in and , respectively. Let be the second intersection point of and . Prove that the angle bisector od passes through the incenter of .
Let and be a sequence of natural integers. Let: Define a mapping by .
a) Let be a function such that is the number of different elements in and is the number od different elements in . Prove that s.t. for the function is periodic.
b) Prove that for all , where is a function that doesn't depend on .