If the decimal expansion of a number ends in zeros, prove that this number can also be written as a decimal which ends in nines if we decrease the last nonzero digit in the decimal expansion by one unit. Prove this statement using infinite series.
Proof. Let
where for all . Then we have,
where is an integer. Then,