# Problem of primes

A prime $$q$$ divides both $$n^2 + 3$$ and $$n^2 +2n +4$$ for some integer $$n$$.

The remainder when $$n$$ is divided by $$q$$ is $$r$$. Find $$q + r$$.

×