Consider the sequence with the following properties.
The first term a 1 is any natural number.
The subsequent numbers follow the rule
a n + 1 = { a n / 2 3 a n + 1 i f a n i s e v e n i f a n i s o d d
What is the value of n → ∞ lim n ∑ i = 1 n a i
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.
That never happens. The series would actually look like ...,4,2,7,3.5,10.5,...
Log in to reply
Let us say for a large n , a n = 4
Then, as 4 is even a n + 1 = 4 / 2 = 2 and since 2 is 'even' a n + 2 = 2 / 2 = 1 Now, 1 is odd, hence a n + 3 = 3 ∗ 1 + 1 = 4
You seem to have swapped the formula for even and odd a n .
Isn't this based off the unproven Collatz conjecture?
Python:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
|
Problem Loading...
Note Loading...
Set Loading...
The sequence ultimately converges to the repeating series ...,4,2,1,4,2,1,4,2,1...
So, at very large n the average value tends to the average of the above three numbers.
Hence, the required answer is 3 4 + 2 + 1 = 2 . 3 3 3