Find all positive integers $n\geq1$ such that there exists a pair $(a,b)$ of positive integers, such that $a^2+b+3$ is not divisible by the cube of any prime, and $$n=\frac{ab+3b+8}{a^2+b+3}.$$
2021 Peru Iberoamerican Team Selection Test
Day 1
We say that a set $S$ of positive integers is special when there exists a function $f : \mathbb{N}\to \mathbb{N}$ satisfying that: $\bullet$ $f(k)\in S, \forall k\in\mathbb{N}$ $\bullet$ No integer $k$ with $2\le k \le 2021$ can be written as $\frac{af(a)}{bf(b)}$ with $a,b\in \mathbb{N}$ Find the smallest positive integer $n$ such that the set $S = \{ 1, 2021, 2021^2, \ldots , 2021^n \}$ is special or prove that no such integer exists. Note: $\mathbb{N}$ represents the set $\{ 1, 2, 3, \ldots \}$
A whole number is written on each square of a $3\times 2021$ board. If the number written in each square is greater than or equal to at least two of the numbers written in the neighboring squares, how many different numbers written on the board can there be at most? Note: Two squares are neighbors when they have a common side.
Let $ABCD$ be a quadrilateral inscribed in a circle $\Omega.$ Let the tangent to $\Omega$ at $D$ meet rays $BA$ and $BC$ at $E$ and $F,$ respectively. A point $T$ is chosen inside $\triangle ABC$ so that $\overline{TE}\parallel\overline{CD}$ and $\overline{TF}\parallel\overline{AD}.$ Let $K\ne D$ be a point on segment $DF$ satisfying $TD=TK.$ Prove that lines $AC,DT,$ and $BK$ are concurrent.
Day 2
Find all positive integers $n$ with the following property: the $k$ positive divisors of $n$ have a permutation $(d_1,d_2,\ldots,d_k)$ such that for $i=1,2,\ldots,k$, the number $d_1+d_2+\cdots+d_i$ is a perfect square.
For each integer $n\ge 1,$ compute the smallest possible value of \[\sum_{k=1}^{n}\left\lfloor\frac{a_k}{k}\right\rfloor\]over all permutations $(a_1,\dots,a_n)$ of $\{1,\dots,n\}.$ Proposed by Shahjalal Shohag, Bangladesh
Let $n$ and $k$ be two integers with $n>k\geqslant 1$. There are $2n+1$ students standing in a circle. Each student $S$ has $2k$ neighbors - namely, the $k$ students closest to $S$ on the left, and the $k$ students closest to $S$ on the right. Suppose that $n+1$ of the students are girls, and the other $n$ are boys. Prove that there is a girl with at least $k$ girls among her neighbors. Proposed by Gurgen Asatryan, Armenia