OFFSET
0,2
COMMENTS
Period 5: repeat [1, 9, 4, 3, 5].
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (0,0,0,0,1).
FORMULA
G.f.: (5*x^4 + 3*x^3 + 4*x^2 + 9*x + 1)/(1 - x^5). - Chai Wah Wu, Jun 04 2016
a(n) = a(n-5) for n>4. - Wesley Ivan Hurt, Jun 11 2016
MAPLE
MATHEMATICA
PowerMod[9, Range[0, 100], 11] (* Wesley Ivan Hurt, Jun 11 2016 *)
PROG
(PARI) a(n)=lift(Mod(9, 11)^n) \\ Charles R Greathouse IV, Mar 22 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
M. F. Hasler, Mar 10 2011
STATUS
approved