a and b are positive integers such that
{ 7 b − 1 1 a ≤ 1 0 0 0 a b + a 2 = 1 + b 2 .
What is the largest possible value of 7 b − 1 1 a ?
Details and assumptions
There is no restriction that a or b must be less than 1000.
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.
Great job!
I didn't feel like submitting a solution since I don't think my answer is very elegant, but what I did was write a in terms of b using the quadratic formula to get 7 b − 1 1 a = 2 2 5 b − 1 1 5 b 4 + 4 ≤ 1 0 0 0 and then after finding the first few b that makes 5 b 2 + 4 a perfect square I noticed that they were alternating fibonacci numbers. I'm glad that now I know why that is because of your solution!
Log in to reply
My original solution went a lot like your solution. I said b is an integer, so the discriminant, 5 a 2 − 4 , is a square. If you're more diligent than I am, you might solve this Pell equation straight away, but I chose the route of finding the first four solutions for a , which were 1 , 2 , 5 , 1 3 . Since we know from the theory of Pell equations that the solution is a second order linear recurrence, we know we're taking alternating Fibonacci numbers.
Nice done
this is what I did
Same problem with me. I observed that the possible values of b were actually even positioned fibonacci numbers. I progressed with that conjecture, and it ultimately gave the correct answer. However I could not provide justification why it was true. Anyways, this solution is great!
Nicely done! This is a great solution of a hard problem. I am sure some people will want to know more details, hopefully you can find the time to answer!
Log in to reply
"hard" varies a lot from person to person, this is one of the great things about maths :) Actually this was the single fastest problem out of this week's for me. On the other hand I would be embarrassed to admit how long I spent on the tripping triples...
Nice.
One thought. You say: "Since ∣ a ∣ < 2 ∣ b ∣ , this is a smaller solution" but do you even need ∣ a ∣ < 2 ∣ b ∣ ? Specifically, could you conclude that it's a smaller solution just because 0 < b < − a means that a < b + a < 0 ?
Rearranging the second condition: b 2 − a 2 = a b − 1
We see that we must have b > a , except for the trivial solution 1 , 0 and 1 , 1 .
Let b = a + c . Substituting this in the above equation ( a + c ) 2 − a 2 2 a c + c 2 a 2 − c 2 = a ( a + c ) − 1 = a 2 + a c − 1 = a c + 1
Here we see, again that a > c since a c + 1 must be positive. So, subsituting a = c + d in the last equation:
( c + d ) 2 − c 2 2 c d + d 2 c 2 − d 2 = c ( c + d ) + 1 = c 2 + c d + 1 = c d − 1
But this is actually the same equation that we started with. So we have shown that if a solution ( a , b ) exists, then there is a smaller solution ( c , d ) . In fact, if ( c , d ) is a solution then the next-biggest solution is ( c + d , 2 c + d ) .
This means that we can work back from the smallest solution c = 1 , d = 1 in order to generate all possible solutions. (The special case ( 1 , 0 ) gives ( 1 , 1 ) anyway so we don't have to worry about that).
This gives us ( 1 , 1 ) , ( 2 , 3 ) , ( 5 , 8 ) , ( 1 3 , 2 1 ) , . .
i.e. F 2 n − 1 , F 2 n .
To quickly find the solution from here we note that as n gets large, the ratio between successive Fibonacci numbers approaches the golden ratio ϕ . So we would want 7 ϕ a − 1 1 a < 1 0 0 0 , i.e. a ( 7 ϕ − 1 1 ) < 1 0 0 0 , i.e. a < 3 0 6 6 .
Checking a list of Fibonacci numbers shows that a = 1 5 9 7 , b = 2 5 8 4 is the largest pair meeting this condition, and 7 b − 1 1 a here is 5 2 1 .
I could have been more formal about when the descent ends: we keep doing it until we end up with c not being greater than d , which can only be ( 1 , 1 ) o r ( 0 , 1 ) .
Problem Loading...
Note Loading...
Set Loading...
First, drop the restriction that a and b are positive and the inequality condition.
Now, all solutions satisfy:
∣ a ∣ and ∣ b ∣ are consecutive Fibonacci numbers, such that a is of odd index (1,2,5,13,34...) and b is of even index (0,1,3,8,21,...). If b > a , then a and b are of the same sign, and if b < a , then a and b are of opposite sign.
To prove this, suppose it's not true, and take the solution with smallest ∣ a ∣ + ∣ b ∣ - clearly neither of them can be zero, as the only such solution is (1,0) which is of the above form. It is also easy to check that ∣ a ∣ and ∣ b ∣ must both be greater than 3, by solving the quadratic in the cases that ∣ a ∣ or ∣ b ∣ are at most 3 and noting that all solutions are as above. Then, we can observe that in any solution with ∣ a ∣ and ∣ b ∣ greater than 3, ∣ a ∣ < 2 ∣ b ∣ and ∣ b ∣ < 2 ∣ a ∣ by supposing otherwise and noting that one side is too large, and that there is clearly no solution with a = b .
(e.g. to prove ∣ a ∣ < 2 ∣ b ∣ , suppose otherwise. So a b < 0 , and then a 2 ≥ 2 ∣ a b ∣ > 1 + b 2 + ∣ a b ∣ .)
Suppose that ∣ a ∣ > ∣ b ∣ , and WLOG b > 0 since we can multiply both a and b by − 1 at our leisure. Clearly, a b must be less than 1 and so negative, so a is negative. By Vieta's formula, there is another solution with the same value of b , namely ( − ( b + a ) , b ) . Since ∣ a ∣ < 2 ∣ b ∣ , this is a smaller solution, so it must be of the above form by the induction hypothesis. However, that is impossible because that means that our original solution was also of the above form, contradicting our assumption. If ∣ a ∣ < ∣ b ∣ , we run a similar argument, except we consider the equation as a quadratic in a .
Therefore, all solutions are of the above form. Since a and b are positive, we have only the solutions in which a = F 2 k − 1 , b = F 2 k .
It is easy to prove by induction that 7 b − 1 1 a takes alternating values in the Lucas sequence, 1, 4, 11, 29, ..., and the largest value less than 1000 is 521.