A convex polygon with 2018 vertices is triangulated by diagonals not crossing in its interior. Let $a,b,c$ count triangles with 2,1,0 polygon sides, respectively. Given $a=504b$, find $c$.
Thirteen circles form three rows of five as shown. Place the numbers 1 through 13 once each so that every row of five sums to the sum of the seven ×-marked circles. What is the greatest sum of the six numbers in the shaded circles?
There are 21 bottles: seven containing 1 litre, seven containing $2/3$ litre and seven containing $1/3$ litre. Divide the intact bottles among 3 people so that both bottle counts and milk volumes are equal. How many bottles of each type does each person receive, in the order $1,2/3,1/3$ litre?
Square $ABCD$ has side 1. Point $E$ lies on $CD$, excluding endpoints $C,D$. Construct square $AEGF$ as shown. Let $J=BC\cap EG$. Find the maximum length $CJ$.
Let $n$ be a positive integer below 10. Concatenate the digits 1 through $n$ in any order ending with $n$, to obtain $N$. Let $S(N)$ be its digit sum. Find all $n$ for which $S(N)-N$ is divisible by 45.