A sequence is defined by: , , and for .
If the value of can be represented as for some natural numbers , , , and . Find .
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.
Consider the integer sequence ( w n ) defined by w 0 = 0 , w 1 = 1 and the recurrence relation w n + 1 = w n + 2 w n − 1 n ≥ 1 It is easy to solve this to show that w n = 3 1 [ 2 n − ( − 1 ) n ] n ≥ 0 Note also that w n + 1 − 2 w n = ( − 1 ) n n ≥ 0 Now define the integer sequence ( v n ) by setting v n = 2 w n n ≥ 0 so that v 0 = 1 , v 1 = 2 and we have the recurrence relation v n + 1 = v n v n − 1 2 n ≥ 1 We also observe that v n 2 v n + 1 = 2 ( − 1 ) n n ≥ 0 so that v n 2 v n + 1 ∈ { 2 , 2 1 } for all n ≥ 0 , and hence v n 2 v n + 1 + v n + 1 v n 2 = 2 5 n ≥ 0 Finally, if we define u n = v n + v n − 1 for n ≥ 0 , then u 0 = 2 , u 1 = 2 5 and u n ( u n − 1 2 − 2 ) − u 1 = ( v n + v n 1 ) ( v n − 1 2 + v n − 1 2 1 ) − 2 5 = ( v n v n − 1 2 + v n v n − 1 2 1 ) + ( v n − 1 2 v n + v n v n − 1 2 − 2 5 ) = v n + 1 + v n + 1 1 = u n + 1 so we have arrived at the sequence of this problem. In particular we note that ⌊ u n ⌋ = v n for all n ≥ 1 . When N is odd we see that ⌊ u N ⌋ = v N = 2 w N = 2 3 1 ( 2 N + 1 ) In this case we have N = 2 0 1 9 , so that a = 2 , b = N = 2 0 1 9 , c = 1 and d = 3 , so that a + b + c + d = 2 0 2 5 .