Find all positive integers $n$ for which the largest prime divisor of $n^2 + 3$ is equal to the least prime divisor of $n^4 + 6$.

Let's think step by step and output the final answer within \boxed{}.
user