Here is my solution so far: Inductive step: Assume $P(k)$ is true, i.e.
$(7k+1)6^k+(-1)^{k+1} = 49q $, $q$ belong to $z(IH)$
when $n = k + 1$:
$$P(k + 1) = 49 \mid (7(k+1)+1)6^{k+1}+(-1)^{k+1}$$ $$ = 49 \mid (7k+7+1)6^{k+1}+(-1)^{k+1}$$ $$ = 49 \mid 6(7k+1)6^k+7(6^{k+1})+(-1)^{k+1}$$ $$ = 49 \mid 6((7k+1)6^k+(-1)^{k+1})-6(-1)^{k+1}+7(6^{k+1})+(-1)^{k+1} $$ $$ = 49 \mid 6(49q)-6(-1)^{k+1}+7(6^{k+1})+(-1)^{k+1}$$ $$ = 49 \mid 6(49q)-7(-1)^{k+1}+42(6^k)$$ $$ = 49 \mid 6(49q)+7(-1)^k+42(6^k)$$
then idk how to solve it, am I doing something wrong?
I don't know whether you have done it, but when writing a proof by induction, it is important to show that the base case $P(1)$ holds.
Anyways, I believe that there is a simple error in your first step - when you consider $n=k+1$, we should have $(-1)^{n+1}=(-1)^{k+2}$, not $(-1)^{k+1}$ as per what you wrote.