login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A187466
a(n) = 9^n mod 11.
2
1, 9, 4, 3, 5, 1, 9, 4, 3, 5, 1, 9, 4, 3, 5, 1, 9, 4, 3, 5, 1, 9, 4, 3, 5, 1, 9, 4, 3, 5, 1, 9, 4, 3, 5, 1, 9, 4, 3, 5, 1, 9, 4, 3, 5, 1, 9, 4, 3, 5, 1, 9, 4, 3, 5, 1, 9, 4, 3, 5, 1, 9, 4, 3, 5, 1, 9, 4, 3, 5, 1, 9, 4, 3, 5, 1, 9, 4, 3, 5, 1, 9, 4, 3, 5, 1
OFFSET
0,2
COMMENTS
Period 5: repeat [1, 9, 4, 3, 5].
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
A187466:=n->9^n mod 11: seq(A187466(n), n=0..100); # Wesley Ivan Hurt, Jun 11 2016
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
KEYWORD
nonn,easy
AUTHOR
M. F. Hasler, Mar 10 2011
STATUS
approved