Let An=an…a1a0, Bn=bn…b1b0, and Cn=An+kBn+k. Obviously Cn<10, so Cn∈{1,2,…,9}.
Claim. If the sequence {ai} doesn't eventually become constant 9, there exists N∈N such that k+An<10n+1 (∀n>N).
Proof. Assume that there exists an index i large enough that k<10i and ai=9. So we get
k+Ai=ai…a0+k<9×10i+k<10i+1.
Now note that
k+Ai+1=10i+1ai+1+Ai+k≤9×10i+1+Ai+k<10i+2.
So inductively, the claim will be proved.
If the sequence ai becomes constant 9, then the sequence bi also becomes constant 9 and we're done. Now consider the case that ai doesn't become constant 9.
For all sufficiently large n, An+k<10n+1. Also we know that (An+k)Cn=Bn+k and (An+1+k)Cn+1=Bn+1+k, which implies:
10n+1bn+1=Bn+1−Bn=(An+1+k)Cn+1−(An+k)Cn=(An+k)(Cn+1−Cn)+10n+1×Cn+1an+1.
Therefore,
10n+1∣(An+k)(Cn+1−Cn).
Now suppose that Cn+1=Cn, which means 1≤∣Cn+1−Cn∣≤8. Then, because gcd(103,Cn+1−Cn)≤8, we have 10n−2∣An+k. For all n, define Sn such that for some θ∈N,
An+k=10θ×Sn
and 10∤Sn.
Let Ai−1+k=10α×Si−1. Then
Ai+k=10α×Si−1+10i×ai.
If we choose i large enough, by the previous claim we know that Ai−1+k<10i. So α<i. This means that Ai+k=10α×Si. So we get that An+k=10α×Sn for all sufficiently large n.
But if Cn+1=Cn, we have 10n−2∣An+k this means that α≥n−2, which is impossible for large enough n. So there exists N∈N such that Cn+1=Cn for all n>N. This means that 10n+1bn+1=C×10n+1an+1. So bn+1=C×an+1 and we're done. ■