EDIT: The vectors can be any length. That is $k$ is not fixed.
For a given natural number $n$, let $S_1(n)$ be the number of vectors $(a_1, a_2, \ldots, a_k)$ such that
$$a_1 + a_2 + \cdots + a_k = n$$
where each $a_i$ is an odd natural number. What is the value of $S_1(n)$? Is there a closed form solution?
A Variation
Suppose we relax the condition on vectors so that all $a_i$ must be odd except $a_1$ and $a_k$, which can be either even or odd. Call the number of such vectors $S_2(n)$. What is the value of $S_2(n)$? Is there a closed form solution?
Notes
This question was inspired by a recent post by phoenix, where we are asked a question about vectors. I have figured out some bounds for $SO$ in that post. In particular, it is between $\sqrt{2^{n - 1}}$ and $2^{n - 1}$. Note that $2^{n - 1}$ is the number of vectors adding to $n$ without the odd restriction.