RSolve[{f[3 n + 2