Clear Notion Academy

JEE Advanced 2023 Mathematics PYQ: Let 7 5 5 r 7 denote the (r+2) digit number where the first and the last digits are 7 and…

Question

Let 75⋯5⏞r77\overbrace{5\cdots5}^{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+⋯+75⋯5⏞987S=77+757+7557+\cdots+7\overbrace{5\cdots5}^{98}7. If S=75⋯5⏞997+mnS=\dfrac{7\overbrace{5\cdots5}^{99}7+m}{n}, where mm and nn are natural numbers less than 30003000, then the value of m+nm+n is

Answer

Answer: 1219

Hint

Tip\textbf{Tip}: Write the general term TrT_r (with rr fives) in closed form using a geometric series for the block of 55's, then find a clean formula for 9Tr9T_r to telescope the sum 9S9S.

Solution

Deconstruction\textbf{Deconstruction}: SS is a sum of 9999 terms T0,T1,…,T98T_0,T_1,\dots,T_{98}, where TrT_r has rr fives sandwiched between two 77's. We must express SS as T99+mn\dfrac{T_{99}+m}{n} with m,n<3000m,n<3000. Strategy\textbf{Strategy}: Write Tr=7⋅10r+1+7+509(10r−1)T_r=7\cdot10^{r+1}+7+\dfrac{50}{9}(10^r-1) (the middle term is 55 times the rr-digit repunit-block 11⋯1⏟r0=10(10r−1)9\underbrace{11\cdots1}_r0=\dfrac{10(10^r-1)}9 scaled by 55). Multiply by 99 to clear the fraction, sum the resulting geometric series, and relate the result back to T99T_{99}. Execution\textbf{Execution}: Check the formula: T0=7(10)+7+0=77T_0=7(10)+7+0=77; T1=7(100)+7+509(9)=700+7+50=757T_1=7(100)+7+\tfrac{50}9(9)=700+7+50=757; T2=7000+7+509(99)=7000+7+550=7557T_2=7000+7+\tfrac{50}9(99)=7000+7+550=7557. All match. Then 9Tr=63⋅10r+1+63+50(10r−1)=63⋅10r+1+50⋅10r+13=(630+50)10r+13=680⋅10r+139T_r=63\cdot10^{r+1}+63+50(10^r-1)=63\cdot10^{r+1}+50\cdot10^r+13=(630+50)10^r+13=680\cdot10^r+13. Summing over r=0r=0 to 9898: 9S=∑r=098(680⋅10r+13)=680N+13(99)=680N+12879S=\displaystyle\sum_{r=0}^{98}(680\cdot10^r+13)=680N+13(99)=680N+1287, where N=1099−19N=\dfrac{10^{99}-1}9 (the 9999-digit repunit 11⋯1⏟99\underbrace{11\cdots1}_{99}). Now apply the same closed form to T99T_{99} (which has 9999 fives): T99=7⋅10100+7+50NT_{99}=7\cdot10^{100}+7+50N (using 10(1099−1)9=10N\tfrac{10(10^{99}-1)}9=10N, so the middle term is 5⋅10N=50N5\cdot10N=50N). Since 1099=9N+110^{99}=9N+1, we get 10100=90N+1010^{100}=90N+10, so T99=7(90N+10)+7+50N=630N+70+7+50N=680N+77T_{99}=7(90N+10)+7+50N=630N+70+7+50N=680N+77. So 680N=T99−77680N=T_{99}-77, and 9S=(T99−77)+1287=T99+12109S=(T_{99}-77)+1287=T_{99}+1210. Hence S=T99+12109S=\dfrac{T_{99}+1210}9, giving m=1210m=1210, n=9n=9 (both <3000<3000). m+n=1210+9=1219m+n=1210+9=1219. Verification\textbf{Verification}: Direct exact big-integer computation of SS (summing all 9999 terms explicitly) and of 9S−T999S-T_{99} confirms this difference equals exactly 12101210, matching the algebraic derivation precisely. Final Answer\textbf{Final Answer}: 12191219.

More questions from JEE Advanced 2023 Mathematics PYQ

Practise the full set: JEE Advanced Mathematics PYQs 2023