Define a sequence by the linear reccurence , with 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.
{ a n } has the characteristic polynomial x 2 − 5 x + 6 = ( x − 2 ) ( x − 3 ) with, clearly, zeroes x = 2 , 3 . As such, we have a closed form for a n = c 1 2 n + c 2 3 n , where c 1 , c 2 are constants.
We then have a 1 = 2 c 1 + 3 c 2 = 8 and a 2 = 4 c 1 + 9 c 2 = 2 1 ; solving the system of equations gives us c 1 = 2 3 and c 2 = 3 5 . As such, we have the explicit formula
a n = 3 ⋅ 2 n − 1 + 5 ⋅ 3 n − 1
Thus, using Fermat's little theorem, we get
a 6 0 0 1 ≡ 3 ⋅ 2 6 0 0 0 + 5 ⋅ 3 6 0 0 0 ≡ 3 ⋅ 1 1 0 0 0 + 5 ⋅ 1 1 0 0 0 ≡ 1 ( m o d 7 )