I am wondering whether there is an efficient way to find explicit formulas for non-homogenous recursive sequences.
- While writing out the first few terms and looking for patterns works sometimes, it is not exactly an amazing approach.
- It takes a long time and with less obvious patterns in sequences, it is prone to failure.
This has left me wondering whether there is a more systematic approach for the following two types of sequences:
- Non-Homogeneous Recursive Sequences with a Constant Term:
Something like $a_n = c_1 a_{n-1} + c,$ where $c$ is constant, such as $a_n = 2a_{n-1} + 1$ with $(a_0 = 1)$.
- Non-Homogeneous Recursive Sequences with a Variable Term:
Something like $a_n = c_1 a_{n-1} + n,$ such as $a_n = 2a_{n-1} + n$ with $(a_0 = 1)$.
Preferrably, I'd be looking for some method without the involvement of generating functions.