Just the right number to divide

A sequence is defined as follows a 1 = a 2 = a 3 = 1 a_1 = a_2 = a_3 = 1 , and for all positive integers n , a n + 3 = a n + 2 + a n + 1 + a n n, \, a_{n+3} = a_{n+2} + a_{n+1} + a_{n} . Given that a 28 = 6090307 , a 29 = 11201821 a_{28} = 6090307, a_{29} = 11201821 and a 30 = 20603361 a_{30} = 20603361 .

Find the remainder when k = 1 28 a k \displaystyle \sum_{k=1}^{28} a_{k} is divided by 1000.


The answer is 834.

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.

1 solution

This is a linear difference equation . This problem is similar a solving the equation A x 3 x 2 x 1 = 0 A \equiv x^3 - x^2 - x - 1 = 0 adding initial conditions a ( 1 ) = 1 , a ( 2 ) = 1 , a ( 3 ) = 1 a(1) = 1, a(2) =1 , a(3) =1 . This problem is similar to Tribonacci numbers and here you have the first 28 numbers of this sequence . I added these numbers and collected their last 3 figures... I know it is not a nice solution but what can I say?...

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...