A positive integer $N$ is divided into $n$ parts inversely proportional to the numbers $2, 6, 12, 20, \ldots$. The smallest part is equal to $\frac{1}{400} N$. Find the value of $n$.

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