I'm not very good at math so I might use the wrong words when searching for an answer (i even don't know what tags to apply).
I have an expression in a loop and the only way I can explain it is something like this.
x = h
Loop n times
x = k*x
end loop
Result = x
h is the initial value of x. For each loop x = k*x
n is the number of loops
After n loops x now hold the result.
How do I express this mathematically?
Initially, $x=h$. After one iteration, $x'=kx=kh$. After two iterations, $x''=kx'=kkh=k^2h$. More generally, after $n$ iterations,
$$x^{(n)}=k^nh.$$
In a more mathematical language, you have the recurrent sequence defined by
$$x_0=h,\\x_n=kx_{n-1}.$$