hiiiiiiii
U have all messed up .... index is organic chemistry .. subject is mathematical induction ...

and actually what is needed is series here ..
Never mind ... let me solve this for u ..
well let S = 7+77+777+...+777n-digits...7
=7/9 ( 9 + 99 + 999 + .... + 999n-digits...9)
=7/9 ( [10-1] + [100-1] + ... [10n - 1] )
= 7/9 ( 101 + 102 + 103 + ... + 10n - n )
= 7/9 ( 10.[(10n - 1)/(10-1)] - n ) (Sum of a G.P)
= 7/9 ( [10n+1 - 10]/9 - n )
= 7/81. ( 10n+1 - 10 - 9n)
So, we have got the desired answer ......
cheers