This is part of a question from my combinatorics homework I've been trying to solve for a few days now... The initial conditions are: f(0)=f(1)=f(2)=1 I tried first to solve the homogeneous part by guessing. My result is $f(n)= \lfloor \frac{n}{3} \rfloor$ but I need to show a formal calculation, and I'm not really sure how to do it. I'm also not sure how to use the solution to the homogeneous recurrence in order to find the solution to the non-homogeneous relation given.
Thank you in advance for your help.


Hints: