If a sequence is such that the next term is given by $a_n*a +b$, what is the general formula of the given sequence?
e.g.: $-$ for $a=4,\;b=6$, the sequence is:
$1,\quad1*4+6=10,\quad10*4+6=46,\quad46*4 +6=190,\;\dots$
What would the formula for the general term be?
(I'm not necessarily asking specifically for this example but rather for a general sequence with the next term defined by $a_n*a +b$).