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”).

A168429
a(n) = 4^n mod 11.
6
1, 4, 5, 9, 3, 1, 4, 5, 9, 3, 1, 4, 5, 9, 3, 1, 4, 5, 9, 3, 1, 4, 5, 9, 3, 1, 4, 5, 9, 3, 1, 4, 5, 9, 3, 1, 4, 5, 9, 3, 1, 4, 5, 9, 3, 1, 4, 5, 9, 3, 1, 4, 5, 9, 3, 1, 4, 5, 9, 3, 1, 4, 5, 9, 3, 1, 4, 5, 9, 3, 1, 4, 5, 9, 3, 1, 4, 5, 9, 3, 1, 4, 5, 9, 3, 1, 4, 5, 9, 3, 1, 4, 5, 9, 3
OFFSET
0,2
COMMENTS
Period 5: repeat [1, 4, 5, 9, 3].
LINKS
Joshua Ide and Marc S. Renault, Power Fibonacci Sequences, Fib. Q. 50(2), 2012, 175-179.
FORMULA
a(n) = a(n-5). G.f.: (1+4*x+5*x^2+9*x^3+3*x^4)/((1-x) * (1+x+x^2+x^3+x^4)). - R. J. Mathar, Apr 13 2010
MATHEMATICA
Table[Mod[4^n, 11], {n, 0, 50}] (* G. C. Greubel, Mar 05 2016 *)
PowerMod[4, Range[0, 100], 11] (* or *) PadRight[{}, 100, {1, 4, 5, 9, 3}] (* Harvey P. Dale, Jul 02 2021 *)
PROG
(Sage) [power_mod(4, n, 11) for n in range(0, 95)]
(PARI) a(n)=4^n%11 \\ Charles R Greathouse IV, Oct 16 2015
CROSSREFS
See also A036117.
Sequence in context: A197821 A046570 A274412 * A195787 A010667 A371336
KEYWORD
nonn,easy
AUTHOR
Zerinvary Lajos, Nov 25 2009
STATUS
approved