Since a1,a2,…,an−1 all have exactly two possible values, so Tn=2n−1. Meanwhile, the frequency of ai=1 is the same as that of ai=0 for 1≤i≤n−1, and an=1. Then
Sn=21×2n−1×(101+1021+⋯+10n−11)+2n−1×10n1=2n−1×181×(1−10n−11)+2n−1×10n1.
So
n→∞limTnSn=n→∞lim[181(1−10n−11)+10n1]=181.