Find the sum to n terms of the sequences 8, 88, 888, 8888 ....
Sn = 8 + 88 + 888 + 8888 + ....... upto n terms]
= 8 [ 1 + 11 + 111 + 1111+ ... upto n terms]
=89 [ 9 + 99 + 999 + 9999 + ........ upto n terms]
= 89[(10−1)+(102−1)+(103−1)+......upto n terms]
= 89[(10+102+103+....n terms)−(1+1+.....n terms)]
= 89[10.(10n−1)(10−1)−n]
= 89[109(10n−1)−n]
= 8081[10n−1]−89n