I need help solving this task, if anyone had a similar problem it would help me.
The task is:
Proof by mathematical induction:
$3\mid5^{n-1}+2^{n}$
I tried this:
$n=1:$
$5^0+2^1=1+2=3 \implies 3:3=1$
$n=k:$
$5^{k-1}+2^{k}=3a$
$n=k+1:$
$5^{k}+2^{k+1}=5^k+2^k\cdot 2$
And now, I don't know how to take advantage of the assumption $5^{k-1}+2^{k}=3a$.
Thanks in advance !