Question 25
Determine all integers $n \geqslant 1$ for which there exists a pair of positive integers $(a, b)$ such that no cube of a prime divides $a^{2}+b+3$ and
$$
\frac{a b+3 b+8}{a^{2}+b+3}=n
$$
$$
\frac{a b+3 b+8}{a^{2}+b+3}=n
$$
IMO Shortlist · IMO 2021 — Complete Shortlist