Average Problem

Calculus Level 3

Take two positive integers m m and n n and define the following sequence where each term is the average of the previous two terms: { U 0 = m U 1 = n U n = U n 2 + U n 1 2 n > 1. \left\{ \begin{array}{ll} U_0 = m\\ U_1 = n\\ U_n=\frac{U_{n-2}+U_{n-1}}{2}\ \forall n>1. \end{array} \right. The sequence will converge towards a m + b n c , \frac{am+bn}{c}, where a a and b b are positive integers and c c is prime.

Submit a + b + c . a+b+c.


Bonus: Can you generalize for the sequence that averages the previous k k terms?


The answer is 6.

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

David Vreken
Apr 28, 2018

For the general case of k k terms, U n = U n k + U n k + 1 + + U n 1 k U_n = \frac{U_{n-k} + U_{n-k+1} + \dots + U_{n-1}}{k} .

Then U n k + 1 + 2 U n k + 2 + k U n U_{n-k+1} + 2U_{n-k+2} + \dots kU_{n} = = U n k + 1 + 2 U n k + 2 + + k U n k + U n k + 1 + + U n 1 k U_{n-k+1} + 2U_{n-k+2} + \dots + k \cdot \frac{U_{n-k} + U_{n-k+1} + \dots + U_{n-1}}{k} = = U n k + 2 U n k + 1 + + k U n 1 U_{n-k} + 2U_{n-k+1} + \dots + kU_{n-1} .

Since U n k + 1 + 2 U n k + 2 + + k U n U_{n-k+1} + 2U_{n-k+2} + \dots + kU_{n} = = U n k + 2 U n k + 1 + + k U n 1 U_{n-k} + 2U_{n-k+1} + \dots + kU_{n-1} , n n is independent, so U n k + 1 + 2 U n k + 2 + + k U n U_{n-k+1} + 2U_{n-k+2} + \dots + kU_{n} = = U 0 + 2 U 1 + + k U k 1 U_{0} + 2U_{1} + \dots + kU_{k - 1} .

If L = lim n U n L = \lim_{n \to \infty} U_{n} , then U 1 + 2 U 2 + + k U k U_{1} + 2U_{2} + \dots + kU_{k} = = L + 2 L + + k L L + 2L + \dots + kL = = ( 1 + 2 + + 3 ) L (1 + 2+ \dots + 3)L = = k ( k + 1 ) 2 L \frac{k(k + 1)}{2}L . Therefore, L = 2 k ( k + 1 ) ( U 0 + 2 U 1 + + k U k 1 ) L = \frac{2}{k(k + 1)}(U_{0} + 2U_{1} + \dots + kU_{k - 1}) , which means:

lim n U n = 2 k ( k + 1 ) ( U 0 + 2 U 1 + + k U k 1 ) \lim_{n \to \infty} U_{n} = \frac{2}{k(k + 1)}(U_{0} + 2U_{1} + \dots + kU_{k - 1})

For the specific case when k = 2 k = 2 and U 0 = m U_0 = m and U 1 = n U_1 = n , lim n U n \lim_{n \to \infty} U_{n} = = 2 2 ( 2 + 1 ) ( m + 2 n ) \frac{2}{2(2 + 1)}(m + 2n) = = m + 2 n 3 \frac{m + 2n}{3} , which means a = 1 a = 1 , b = 2 b = 2 , and c = 3 c = 3 , and a + b + c a + b + c = = 1 + 2 + 3 1 + 2 + 3 = = 6 \boxed{6} .

Atman Kar
May 9, 2018

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...