Here is a method which works, by hand, for small values of $n$. Let me illustrate, via an example.
How many solutions are there to the equation $2x+3y+6z=10$?
My method involves filling out a table with dimensions $11\times 3$. In general, to count solutions to $a_1x_1+\dots+a_kx_k=n$, the table will have size $(n+1)\times k$. Specifically, for each $n\ge 0$, define the following numbers:
$a_n$ is the number of nonnegative integer solutions to $2x=n$.
$b_n$ is the number of nonnegative integer solutions to $2x+3y=n$.
$c_n$ is the number of nonnegative integer solutions to $2x+3y+6z=n$.
We only care about $c_{10}$, but we will use $a_n$, $b_n$, and $c_1,\dots,c_9$ as intermediate calculations to make the overall calculation of $c_{10}$ easier.
Let us start with the simplest term, $a_n$. It should be clear that
$$
a_n=\begin{cases}1 & \text{$n$ is even} \\ 0 & \text{$n$ is odd}\end{cases}\tag1
$$
The first column of our table will be the values of $a_n$, which we can fill in immediately using the above rule. The next row of the table is $b_n$. It turns out that $b_n$ satisfied this recurrence. For all $n\ge 3$:
$$
b_n=a_n+b_{n-3}\tag2
$$
If $n<3$, then $b_n=a_n$.
Why? There are two types of solution to the equation $2x+3y=n$; ones where $y=0$, and ones where $y>0$. The solutions where $y=0$ correspond exactly to solutions of $2x\color{gray}{+3\cdot 0}=n$, which is counted by $a_n$. If $y>0$, then letting $y'=y-1$, you have that $2x+3y'=n-3$, where $y'$ is nonnegative, so solutions like this are counted by $b_{n-3}$.
Using $(2)$, you can fill out the second column of the table. Finally, using the following similar recurrence, you can deduce $c_n$ for $n \in \{0,1,\dots,10\}$, and use that to fill out the final column, and therefore answer your question.
$$\begin{align}
n\ge 6\quad &\implies\quad c_n=b_n+c_{n-6}\\
n<6\quad &\implies \quad c_n=b_n.
\end{align}\tag3$$
Here is the fully filled out table:
$n$ |
$a_n$ |
$b_n$ |
$c_n$ |
0 |
1 |
1 |
1 |
1 |
0 |
0 |
0 |
2 |
1 |
1 |
1 |
3 |
0 |
1 |
0 |
4 |
1 |
1 |
1 |
5 |
0 |
1 |
0 |
6 |
1 |
2 |
3 |
7 |
0 |
1 |
1 |
8 |
1 |
2 |
3 |
9 |
0 |
3 |
3 |
10 |
1 |
2 |
3 |
We conclude that $c_{10}=3$. Indeed, the only solutions are $(x,y,z)=(5,0,0),(2,2,0)$ and $(2,0,1)$.