第 619 题:(2025 AIME II, 2)
Find the sum of all positive integers $n$ such that $n+2$ divides the product $3(n+3)(n^2+9).$
- Modulo $n+2$ we have $n\equiv-2$, so $3(n+3)(n^2+9)\equiv3\cdot1\cdot13=39$.
- So $n+2\mid39$ with $n+2\ge3$, so $n+2\in\{3,13,39\}$, i.e.\ $n=1,11,37$.
- The sum is $49$. The answer is $\boxed{049}$.
Find the sum of all positive integers $n$ such that $n+3$ divides the product $2(n+4)(n^2+7).$