\[C\left(n\right)=\sum_{k=1}^{n}N(n,k),\]