Question 27Find all pairs of positive odd integers $(m, n)$ satisfying $n \mid 3m + 1$ and $m \mid n^2 + 3$.