JEE Challenger
More from Sequences and Series

Sum of Digit Patterns and Natural Number Parameters

Let 755r77\overbrace{5\dots 5}^{r}7 denote the (r+2)(r+2) digit number where the first and the last digits are 77 and the remaining rr digits are 55. Consider the sum S=77+757+7557++755987S = 77 + 757 + 7557 + \dots + 7\overbrace{5\dots 5}^{98}7. If S=755997+mnS = \frac{7\overbrace{5\dots 5}^{99}7 + m}{n}, where mm and nn are natural numbers less than 30003000, then the value of m+nm+n is

Official Numerical Answer1219

Step-by-Step Solution

Let Tr=755r7T_r = 7\overbrace{5\dots 5}^{r}7 denote the (r+2)(r+2)-digit number. We can express TrT_r mathematically as: Tr=710r+1+5k=1r10k+7T_r = 7 \cdot 10^{r+1} + 5 \sum_{k=1}^{r} 10^k + 7 Using the sum of a geometric progression, we get: Tr=710r+1+510(10r1)9+7=680910r+139T_r = 7 \cdot 10^{r+1} + 5 \cdot \frac{10(10^r - 1)}{9} + 7 = \frac{680}{9} \cdot 10^r + \frac{13}{9}

We are given the sum S=r=098TrS = \sum_{r=0}^{98} T_r: S=r=098(680910r+139)=6809(109919)+139×99S = \sum_{r=0}^{98} \left( \frac{680}{9} \cdot 10^r + \frac{13}{9} \right) = \frac{680}{9} \left( \frac{10^{99} - 1}{9} \right) + \frac{13}{9} \times 99 S=680(10991)+1158381=6801099+1090381S = \frac{680(10^{99} - 1) + 11583}{81} = \frac{680 \cdot 10^{99} + 10903}{81}

Note that T99=755997=6801099+139T_{99} = 7\overbrace{5\dots 5}^{99}7 = \frac{680 \cdot 10^{99} + 13}{9}, which implies: 6801099=9T9913680 \cdot 10^{99} = 9 T_{99} - 13

Substituting this into the expression for SS: S=(9T9913)+1090381=9T99+1089081=T99+12109S = \frac{(9 T_{99} - 13) + 10903}{81} = \frac{9 T_{99} + 10890}{81} = \frac{T_{99} + 1210}{9}

Comparing this with S=T99+mnS = \frac{T_{99} + m}{n}, we obtain: m=1210,n=9m = 1210, \quad n = 9

Both mm and nn are natural numbers less than 30003000. Thus, the value of m+nm+n is: m+n=1210+9=1219m + n = 1210 + 9 = 1219