Solve Function
1. The problem provides the function value $g(1) = -k^n + k^1 a$ and states that $g(1) = 0$. We need to analyze this equation.
2. From the equation $g(1) = 0$, we write:
$$-k^n + a = 0$$
3. Rearrange the equation to isolate $a$:
$$a = k^n$$
4. This means that for the function value at 1, the parameter $a$ must equal $k^n$ for the equation to hold true.
Final answer:
$$a = k^n$$