Define a sequence of integers u n ( n ≥ 0 ) with the recurrence relation u 0 = 1 , u 1 = 5 , u n + 1 = 2 u n − 4 u n − 1 .
As n → ∞ , if we pick i , j uniformly on { 0 , 1 , 2 , … , n } and independantly of each other, what is the limiting probability that u i × u j = u k for some nonnegative integer k ?
The probability can be expressed as b a where a and b are non-negative coprime integers, find a + b
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.
What is the approach for solving the sequence ?
Log in to reply
The indicial equation for this recurrence relation is λ 2 − 2 λ + 4 = 0 , which has roots − 2 ω and − 2 ω 2 . Thus we have u n = α ( − 2 ω ) n + β ( − 2 ω 2 ) n for some α , β .
Rather than find the forms of α , β , we note easily that u n + 3 = − 8 u n , and all we then need are u 0 = 1 , u 1 = 5 , u 2 = 6 to finish off.
In other words, given i and j , such a k exists if and only if i or j is divisible by 3. It quickly follows that the probability is 9 5 .
Log in to reply
It is easy that the probability is exactly p n = 9 5 when n ≡ 2 ( m o d 3 ) , but it is slightly more fiddly, and the limit needs to be taken, in other cases.
Problem Loading...
Note Loading...
Set Loading...
It is easy to solve this recurrence relation by induction to see that u 3 n + j = ⎩ ⎨ ⎧ ( − 8 ) n 5 × ( − 8 ) n 6 × ( − 8 ) n j = 0 j = 1 j = 2 for all n ≥ 0 .
It is now clear that u i × u j is equal to another sequence element u k exactly when either i or j is divisible by 3 .
If n = 3 m − 1 then P [ i = 0 ] = P [ i = 1 ] = P [ i = 2 ] = 3 m m = 3 1 and so the desired probability is p n = 9 5 .
If n = 3 m then P [ i = 0 ] = 3 m + 1 m + 1 P [ i = 1 ] = P [ i = 2 ] = 3 m + 1 m and so the desired probability is p n = ( 3 m + 1 ) 2 ( m + 1 ) 2 + 4 m ( m + 1 ) = ( 3 m + 1 ) 2 ( m + 1 ) ( 5 m + 1 )
If n = 3 m + 1 then P [ i = 0 ] = P [ i = 1 ] = 3 m + 2 m + 1 P [ i = 2 ] = 3 m + 2 m and so the desired probability is p n = ( 3 m + 2 ) 2 3 ( m + 1 ) 2 + 2 m ( m + 1 ) = ( 3 m + 2 ) 2 ( m + 1 ) ( 5 m + 3 )
Looking at these three cases, is clear that lim n → ∞ p n = 9 5 , making the answer 5 + 9 = 1 4 .