let $a_n$ denote the number of ways to split $[n]$ into blocks of size $1, 2$, or $3$. Find the ordinary generating function for ${a_n}$.
For this would I first split $n$ into three groups? From those three groups, I choose to either split them into the size of $1,2,3$? Will this be correct? Thank you.
We want to know the GF of the number of ways to break $1,2,3, \dots ,n$ into blocks of length 1, 2, or 3.
The GF of the length of a single block is $x+x^2+x^3$. A complete arrangement is a sequence of such blocks. So its GF is $$f(x) = \frac{1}{1-(x+x^2+x^3)}$$