A linear recurrence problem -- sum of rational and not integer terms of sequence. (Try 2)

Algebra Level 3

What is the numerator of the sum of the rational and not integer terms generated by the linear recurrence, including the initialization terms, reduced to co-prime numerator and denominator?

a 0 = 5 37 , a 1 = 1 7 , a_0=\frac{5}{37}, a_1=-\frac17, and a 2 = 1 3 a_2=\frac13 , and a n = 777 a n 1 777 a n 3 a_n=777 a_{n-1}-777 a_{n-3} where n 3 n\geq 3 .

Assistance: a 3 = 154 a_3=154 and therefore would not be included in the answer as it is an integer.

Clarification: By rational and not integer terms, I meant rational numbers with denominators 1 \neq 1 . I understand rational numbers as being written in the form of fractions with an integer numerator and a positive integer denominator.

Apology: In the deleted form of this problem, I had reversed the two arguments of the linear recurrence . This resulted in the answer being different from what I intended.


The answer is 253.

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.

2 solutions

Chris Lewis
Apr 24, 2019

The only terms of the sequence that are not integers are a 0 , a 1 , a 2 a_0,a_1,a_2 . To see this, just note that each of their denominators is a factor of 777 777 ; it immediately follows that a 3 , a 4 , a_3,a_4,\ldots onwards are integers.

We have a 0 + a 1 + a 2 = 253 777 a_0+a_1+a_2=\frac{253}{777} in lowest terms, with numerator 253 \boxed{253} .

Exactly! And that is the answer.

A Former Brilliant Member - 2 years, 1 month ago

Log in to reply

Aha - this was much harder yesterday, when there were infinitely many non-integer terms, and there was no obvious solution to the recurrence relation! Led to some interesting ideas, though, I may see if I can work out a tractable problem in that form.

Chris Lewis - 2 years, 1 month ago

I regret the bad problem. I also learned a few things from my errors.

A Former Brilliant Member - 2 years, 1 month ago

The only term which are rational and also not integer are the initialization terms. After the first six terms, all terms contain factors of 3, 7, and 37 and therefore all following terms will be integers. Here is a table of the first eight terms:

( ( 5 1 37 1 ) 5 37 ( 1 1 7 1 ) 1 7 ( 3 1 ) 1 3 ( 2 1 7 1 11 1 ) 154 ( 3 1 13 1 37 1 83 1 ) 119769 ( 2 1 7 1 23 1 37 1 73 1 107 1 ) 93060254 ( 2 2 3 1 5 2 7 2 19 1 37 1 6997 1 ) 72307697700 ( 3 2 7 1 37 2 651419621 1 ) 56182988052387 ) \left( \begin{array}{cc} \left( \begin{array}{cc} 5 & 1 \\ 37 & -1 \\ \end{array} \right) & \frac{5}{37} \\ \left( \begin{array}{cc} -1 & 1 \\ 7 & -1 \\ \end{array} \right) & -\frac{1}{7} \\ \left( \begin{array}{cc} 3 & -1 \\ \end{array} \right) & \frac{1}{3} \\ \left( \begin{array}{cc} 2 & 1 \\ 7 & 1 \\ 11 & 1 \\ \end{array} \right) & 154 \\ \left( \begin{array}{cc} 3 & 1 \\ 13 & 1 \\ 37 & 1 \\ 83 & 1 \\ \end{array} \right) & 119769 \\ \left( \begin{array}{cc} 2 & 1 \\ 7 & 1 \\ 23 & 1 \\ 37 & 1 \\ 73 & 1 \\ 107 & 1 \\ \end{array} \right) & 93060254 \\ \left( \begin{array}{cc} 2 & 2 \\ 3 & 1 \\ 5 & 2 \\ 7 & 2 \\ 19 & 1 \\ 37 & 1 \\ 6997 & 1 \\ \end{array} \right) & 72307697700 \\ \left( \begin{array}{cc} 3 & 2 \\ 7 & 1 \\ 37 & 2 \\ 651419621 & 1 \\ \end{array} \right) & 56182988052387 \\ \end{array} \right)

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...