login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 


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

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 20 13:10 EDT 2024. Contains 376072 sequences. (Running on oeis4.)