anemone
Gold Member
MHB
POTW Director
- 3,851
- 115
Consider a sequence given by $$a_n=a_{n-1}+3a_{n-2}+a_{n-3}$$, where $$a_0=a_1=a_2=1$$.
What is the remainder of $$a_{2013}$$ divided by $$7$$?
What is the remainder of $$a_{2013}$$ divided by $$7$$?