A sequence a n satisfies the following equation:
a n = 4 a n − 1 − 5 a n − 2 + 2 a n − 3 , for all positive integers n not less than 3
If a 0 = 1 , a 1 = 2 , a 2 = 3 ,
Find a 1 0 0 0
This question will be lengthy if you substitute for a 3 , a 4 , a 5 , . . . directly. Try to find the general form of a n
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.
it is an AP series with first term(a)=1, D=1 solve it by putting n=1001 in following wqn. Tn=a+(n-1)D=a_1000
I took a look at the wikipedia article too, and I considered applying the Python sympy library. Then I glanced again at the title of this puzzle and saw the word 'simple'! Once again I reminded myself that even great mathematicians weren't averse to experimentation.
>>> a=[1,2,3]
>>> for k in range(10):
... a.append( 4 a[-1] - 5 a[-2] + 2*a[-3] )
...
>>> a
[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13]
It doesn't take much in this case.
Problem Loading...
Note Loading...
Set Loading...
Take a look here .
By the algorithms of solving homogenous recurrence sequence, we will subsitute a n with r n .
r n − 4 r n − 1 + 5 r n − 2 − 2 r n − 3 = 0
r n − 3 ( r 3 − 4 r 2 + 5 r − 2 ) = 0
Since the value of r n − 3 will never be 0, we will divide both sides by r n − 3
( r 3 − 4 r 2 + 5 r − 2 ) = 0
( r − 1 ) ( r − 1 ) ( r − 2 ) = 0
Thus, the general form of this sequence is
a n = A ( 2 n ) + B ( 1 n ) + C n ( 1 n )
= A ( 2 n ) + B + C n
Substituting the values of a 0 , a 1 , a 2 into the general form, we will get our system of equations
a 0 = A + B = 1
a 1 = 2 A + B + C = 2
a 2 = 4 A + B + 2 C = 3
Solving the system of equations,
A = 0 , B = 1 , C = 1
Substituting the values of A , B , C into our general form,
a n = n + 1
Thus,
a 1 0 0 0 = 1 0 0 1