Consider the following recursive process:
a n + 1 = a n − ⌊ a n ⌋ 2
For all positive integers a 0 , the process above eventually results in a n = 0 for all n ≥ k for some positive integer k . What is the first value of a 0 such that k = 7 ?
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.
It looks like your indices are mixed up in the solution. To be consistent with the way the problem is posed, you should have a 0 = 7 2 2 3 and a 7 = 0 . The oversight should be easy to correct.
Log in to reply
The formula above gives the answers for a 0 for a certain value of k . What I should really do is change the variable in the solution to b n to a avoid confusion with the original problem. Thanks!
Try this
Let a 0 = k 0 2 + t 1 for k , t 1 ∈ N . Thus a 1 = t 1 .
Now let t i = k i 2 + t i + 1 ∀ i ∈ N . Thus we have a k = t k ∀ k ∈ N .
Let a 7 = t 7 = 0 , we have a 0 = k 0 2 + k 1 2 + . . . + k 6 2 .
Obviously k i 2 ≥ k i + 1 2 + k i + 2 2 + . . . + k 6 2 ∀ i ∈ [ 0 , 5 ] .
Thus we have the smallest set of ( k 6 , k 5 , k 4 , k 3 , k 2 , k 1 , k 0 ) = ( 1 , 1 , 1 , 2 , 4 , 1 2 , 8 4 ) . It implies that a 0 = 7 2 2 3 .
Problem Loading...
Note Loading...
Set Loading...
It's clear that we have a 0 = k for k = { 1 , 2 , 3 } because the largest square that can be subtracted for those values is 1 . From there, we use the following recursive method to find the minimal a 0 for all k > 3 , where b k = a 0 for a given value of k .
b n + 1 = b n + ( 2 b n + 1 ) 2
Starting with b 3 = 3 , we get b 4 = 7 , b 5 = 2 3 , b 6 = 1 6 7 , and b 7 = 7 2 2 3 .