a_n=0.\underbrace{9\dots 9}_{n}=1-10^{-n}