A sequence of real numbers is said to be good if the following three conditions hold.
Find the smallest positive integer such that there exists a good sequence of real numbers with the property that .
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.
Let's run it backwards. Suppose a n = 2 0 1 4 . Let b k = a n − k , so b 0 = 2 0 1 4 and b k = { 2 b k − 1 − 1 1 − b k − 1 2 b k − 1 if b k − 1 > 1 if b k − 1 < 1 .
So we can generate values of b k recursively until we get to our first positive integer. In fact, b 6 0 = 2 0 1 4 is the first positive integer, so n = 6 0 and the minimal good sequence ending in 2 0 1 4 also starts with 2 0 1 4 .
I think there is a nice formula for n in general based on the binary expansion of the starting number plus one (2015 in this case), but I haven't quite put all the pieces together. I'll update with a full solution later. Here is a hint: it's not hard to prove that if you add up the numerator and denominator of b k , the result is always 2 0 1 5 .