Given a recurrence relation a 0 = 0 , a 1 = 1 and for n ≥ 2 , a n = 6 a n − 1 − 9 a n − 2 find the remainder when a 2 0 is divided by 1 1 ?
This is a part of the set 11≡ awesome (mod remainders)
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.
Is there any shortcut to find the value of those recursive terms? Should I need to calculate every terms to get the set of recursive terms?
Log in to reply
Subhajit, I used a spreadsheet to do the calculations, which was very easy. And since, I had already got them, I showed a long list. Using hand calculation, you need to find three terms and then induce the rest to be true.
We note that:
a 1 = 1 = 3 ( 1 − 1 ) ( 1 )
a 2 = 6 = 3 ( 2 − 1 ) ( 2 )
a 3 = 2 7 = 3 ( 3 − 1 ) ( 3 )
a 4 = 1 0 8 = 3 ( 4 − 1 ) ( 4 )
By induction, it implies that a n = 3 ( n − 1 ) n for n > 0 .
It can also be done without induction. There's a standard way to deal with linear recurrence relations (especially when this one has a characteristic equation with nice roots). Read this .
Note that the characteristic equation of the given recurrence relation is x 2 − 6 x + 9 = 0 which has a repeated root of 3 . Using the method given in that note, the closed form is easily obtained.
Log in to reply
Thanks. Yes, I didn't learn it then. I learnt it in Brilliant. I was trained an engineer not mathematician. Anyway, this shows that my solution is original.
Problem Loading...
Note Loading...
Set Loading...
We note that { a n } = { 0 , 1 , 6 , 2 7 , 1 0 8 , 4 0 5 , 1 4 5 8 , 5 1 0 3 , 1 7 4 9 6 , 5 9 0 4 9 , 1 9 6 8 3 0 . . . }
⇒ a n = 3 n − 1 n for n > 0 .
We have a 2 0 = 3 1 9 ( 2 0 ) = 3 1 9 ( 1 1 + 9 ) = 3 1 9 ( 1 1 ) + 3 2 1
Therefore, a 2 0 and 3 2 1 have the same remainder when divided by 1 1 .
It is noted that 3 n ≡ a m o d 1 1 , where a = 1 , 3 , 9 , 5 , 4 , 1 , 3 , 9 , 5 , 4 . . . . , a repeats in a circle of 5 . And when n ≡ 1 ( m o d 5 ) , a = 3 .
Therefore, the remainder of a 2 0 is 3 .