Numerator...Denominator...Terminator!

Level pending

Consider the following sequence -

1 2 , 5 3 , 11 8 , 27 19 \displaystyle \frac{1}{2}, \frac{5}{3}, \frac{11}{8}, \frac{27}{19} \cdots

Now, if T n {T}_{n} is the nth term of this sequence and N ( T n ) N({T}_{n}) is the numerator of the term and D ( T n ) D({T}_{n}) is the denominator of the term, then find digit sum ( N ( T 17 ) + N ( T 29 ) D ( T 17 ) D ( T 29 ) ( lim n ( T n ) ) 2 ) \displaystyle \text{digit sum} \left (\dfrac{N({T}_{17}) + N({T}_{29}) - D({T}_{17}) - D({T}_{29})}{{(\displaystyle \lim_{n \rightarrow \infty}({T}_{n}))}^{2}} \right)


The answer is 45.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Kartik Sharma
Apr 16, 2015

First of all, this is not an original problem, it is taken from some test and then edited a little bit.

After looking at the sequence, the only sequence which can(I guess) come in mind -

D ( T n ) = D ( T n 1 ) + N ( T n 1 ) \displaystyle D({T}_{n})= D({T}_{n-1}) + N({T}_{n-1})

N ( T n ) = D ( T n ) + D ( T n 1 ) \displaystyle N({T}_{n}) = D({T}_{n}) + D({T}_{n-1})

But still, if there is any more series coming up, then please let me know I will provide this thing in the question only.

Let's just simply replace D ( T n ) D({T}_{n}) by q n {q}_{n} and N ( T n ) N({T}_{n}) by p n {p}_{n} .

q n = q n 1 + p n 1 \displaystyle {q}_{n} = {q}_{n-1} + {p}_{n-1}

p n = 2 q n 1 + p n 1 \displaystyle {p}_{n} = 2{q}_{n-1} + {p}_{n-1}

Now, q n = 3 q n 2 + 2 p n 2 \displaystyle {q}_{n} = 3{q}_{n-2} + 2{p}_{n-2}

q n = 7 q n 3 + 5 p n 3 \displaystyle {q}_{n} = 7{q}_{n-3} + 5{p}_{n-3}

and so on, so we can write - q n = a k q n k + b k p n k \displaystyle {q}_{n} = {a}_{k}{q}_{n-k} + {b}_{k}{p}_{n-k}

As we can easily see, there is a recurrence going on in a i \displaystyle {a}_{i} s and which is that -

a k = 2 a k 1 + a k 2 \displaystyle {a}_{k} = 2{a}_{k-1} + {a}_{k-2} with a 1 = 1 \displaystyle {a}_{1} = 1 , a 0 = 1 \displaystyle {a}_{0} = 1

And hence, the equation we will get is x 2 = 2 x + 1 \displaystyle {x}^{2} = 2x +1

As we will bash a little bit more, we get a k = 1 2 ( ( 1 + 2 ) k + ( 1 2 ) k ) \displaystyle {a}_{k} = \frac{1}{2}({(1+\sqrt{2})}^{k} + {(1-\sqrt{2})}^{k})

Also, b k = b k 1 + a k 1 \displaystyle {b}_{k} = {b}_{k-1} + {a}_{k-1}

= 1 2 ( ( 1 + 2 ) k 1 + ( 1 2 ) k 1 ) + b k 1 \displaystyle = \frac{1}{2}({(1+\sqrt{2})}^{k-1} + {(1-\sqrt{2})}^{k-1}) + {b}_{k-1}

= 1 2 ( ( 1 + 2 ) k 1 + ( 1 2 ) k 1 ) + 1 2 ( ( 1 + 2 ) k 2 + ( 1 2 ) k 2 ) + b k 2 \displaystyle = \frac{1}{2}({(1+\sqrt{2})}^{k-1} + {(1-\sqrt{2})}^{k-1}) + \frac{1}{2}({(1+\sqrt{2})}^{k-2} + {(1-\sqrt{2})}^{k-2}) + {b}_{k-2}

And so on till b 0 = 0 \displaystyle {b}_{0} = 0 ,

= r = 1 k 1 2 ( ( 1 + 2 ) k r + ( 1 2 ) k r ) \displaystyle = \sum_{r=1}^{k}{\frac{1}{2}({(1+\sqrt{2})}^{k-r} + {(1-\sqrt{2})}^{k-r})}

= ( 1 + 2 ) k 1 ( 1 2 ) k 1 2 2 \displaystyle = \frac{{(1+\sqrt{2})}^{k-1} - {(1-\sqrt{2})}^{k-1}}{2\sqrt{2}}

Now, just plugging values and a little bashing, we get

q n = ( 2 2 + 1 ) ( ( 1 + 2 ) n 1 ) + ( 2 2 1 ) ( ( 1 2 ) n 1 ) 2 2 \displaystyle {q}_{n} = \frac{(2\sqrt{2}+1)({(1+\sqrt{2})}^{n-1}) + (2\sqrt{2}-1)({(1-\sqrt{2})}^{n-1})}{2\sqrt{2}} [Considering values of q 1 {q}_{1} and p 1 {p}_{1} ]

Well, let's move to p n {p}_{n} which is defined as -

p n = 2 q n 1 + p n 1 \displaystyle {p}_{n} = 2{q}_{n-1} + {p}_{n-1}

p n = ( 2 2 + 1 ) ( ( 1 + 2 ) n 1 ) + ( 2 2 1 ) ( ( 1 2 ) n 1 ) 2 + p n 1 \displaystyle {p}_{n} = \frac{(2\sqrt{2}+1)({(1+\sqrt{2})}^{n-1}) + (2\sqrt{2}-1)({(1-\sqrt{2})}^{n-1})}{\sqrt{2}} + {p}_{n-1}

And as we know that p 1 = 1 \displaystyle {p}_{1} = 1 , we can bash a little bit again

p n = 2 + ( 2 2 + 1 ) ( ( 1 + 2 ) n 1 1 ) + ( 2 2 1 ) ( ( 1 2 ) n 1 1 ) 2 \displaystyle {p}_{n} = \frac{2 + (2\sqrt{2}+1)({(1+\sqrt{2})}^{n-1}-1) + (2\sqrt{2}-1)({(1-\sqrt{2})}^{n-1}-1)}{2}

We have got equations of both - numerator as well as denominator and now comes the terminator which is just plugging in values.

p 29 = 99933150305 \displaystyle {p}_{29} = 99933150305

p 17 = 2549185 \displaystyle {p}_{17} = 2549185

q 29 = 70663408246 \displaystyle {q}_{29} = 70663408246

q 17 = 1802546 \displaystyle {q}_{17} = 1802546

l i m n > ( T n ) = 2 \displaystyle {lim}_{n->\infty}({T}_{n}) = \sqrt{2}

Doing the final thing we get the answer as -

45 \displaystyle \boxed{45}

There may be some things which you might not have understood as I have written the solution in a hurry so you can ask me here in personal.

Kartik Sharma - 6 years, 1 month ago

Log in to reply

Are you still an active brilliant user? I have a thought or two on this problem but I will elaborate if I hear from you

Karan Chatrath - 1 year, 6 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...