In how many ways one can decompose an integer $n$ to smaller integers at least 3? for example 13 has the following decompositions:
\begin{gather*} 13\\ 3,10\\ 4,9\\ 5,8\\ 6,7\\ 3,3,7\\ 3,4,6\\ 3,5,5\\ 3,3,3,4\\ 4,4,5\\ \end{gather*}
Points and hints are welcome.
Let there be $p(n)$ partitions of the positive integer $n$ that use integers $1, 2, \dots, n$ (A000041).
Using the inclusion-exclusion principle, the number of partitions that don't use the numbers $1$ and $2$ is given by:
$$p(n) - p(n - 1) - p(n - 2) + p(n - 3)$$
since, there are $p(n-1)$ numbers that use $1$ in the partition of $n$, $p(n-2)$ that use $2$, and there are $p(n-3)$ that use both $1$ and $2$ in the partition of $n$.
In your case, the answer is $p(13)-p(12)-p(11)+p(10)=101-77-56+42=10$ (counting the trivial partition $13=13$).