I get all the steps in the following solution except for the final step to the get the general solution:
also how can I write the maths more clearly in the description?
$a_n = 7a_{n-1} + (-30) \cdot 2^n$
substitute $a_n=c \cdot 2^n$
$c \cdot2^n=7c \cdot2^{n-1} + (-30)\cdot2^n$
$2c=7c-30\cdot2$
$c={30 \cdot 2\over5} = 12$
general solution: $a_n=c \cdot 7^n+12\cdot2^n$
This is an inhomogeneous linear problem. The general solution of such a problem can be described as follows: