2020 Brazil EGMO TST

1

Maria have $14$ days to train for an olympiad. The only conditions are that she cannot train by $3$ consecutive days and she cannot rest by $3$ consecutive days. Determine how many configurations of days(in training) she can reach her goal.

2

Let $ABC$ be a triangle, the point $E$ is in the segment $AC$, the point $F$ is in the segment $AB$ and $P=BE\cap CF$. Let $D$ be a point such that $AEDF$ is a parallelogram, Prove that $D$ is in the side $BC$, if and only if, the triangle $BPC$ and the quadrilateral $AEPF$ have the same area.

3

Let $a_0,a_1,a_2,\dots$ be a periodic sequence of real numbers(that is, there is a fixed positive integer $k$ such that $a_n=a_{n+k}$ for every integer $n\geq 0$). The following equality is true, for all $n\geq 0$: $a_{n+2}=\frac{1}{n+2} (a_n - \frac{n+1}{a_{n+1}})$ if $a_0=2020$, determine the value of $a_1$.

4

Determine all positive integers $n$ such that $\frac{n(n-1)}{2}-1$ divides $1^7+2^7+\dots +n^7$.