I am looking mostly for keywords, to search and study on examples and techniques on how one goes on finding the closed form expression on a recursive sequence.
I have a problem to solve, which looks like
$${ a_{n+1} = \frac{ma_n + x}{a_n + y} }$$
(I am not writing the exact values, because I am not looking for a solution, just guidance.)
I have seen a solution here, which is amazing, but I do not understand how one thinks about it.