Given that $$1-\frac12+\frac13-\frac14+\cdots-\frac1{1318}+\frac1{1319}=\frac pq,$$ where $p$ and $q$ are natural numbers having no common factor, prove that $p$ is divisible by $1979$.
A pentagonal prism $A_1A_2\ldots A_5B_1B_2\ldots B_5$ is given. The edges, the diagonals of the lateral walls and the internal diagonals of the prism are each colored either red or green in such a way that no triangle whose vertices are vertices of the prism has its three edges of the same color. Prove that all edges of the bases are of the same color.
There are two circles in the plane. Let a point $A$ be one of the points of intersection of these circles. Two points begin moving simultaneously with constant speeds from the point $A$, each point along its own circle. The two points return to the point $A$ at the same time. Prove that there is a point $P$ in the plane such that at every moment of time the distances from the point $P$ to the moving points are equal.
Given a point $P$ in a given plane $\pi$ and also a given point $Q$ not in $\pi$, determine all points $R$ in $\pi$ such that $\frac{QP+PR}{QR}$ is a maximum.
The nonnegative real numbers $x_1,x_2,x_3,x_4,x_5,a$ satisfy the following relations:
$$\sum_{i=1}^5ix_i=a,\qquad\sum_{i=1}^5i^3x_i=a^2,\qquad\sum_{i=1}^5i^5x_i=a^3.$$
What are the possible values of $a$?
Let $S$ and $F$ be two opposite vertices of a regular octagon. A counter starts at $S$ and each second is moved to one of the two neighboring vertices of the octagon. The direction is determined by the toss of a coin. The process ends when the counter reaches $F$. We define $a_n$ to be the number of distinct paths of duration $n$ seconds that the counter may take to reach $F$ from $S$. Prove that for $n=1,2,3,\ldots$,
$$a_{2n-1}=0,\qquad a_{2n}=\frac1{\sqrt2}(x^{n-1}-y^{n-1}),\qquad x=2+\sqrt2,\quad y=2-\sqrt2.$$