login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A070404 7^n mod 11. 3
1, 7, 5, 2, 3, 10, 4, 6, 9, 8, 1, 7, 5, 2, 3, 10, 4, 6, 9, 8, 1, 7, 5, 2, 3, 10, 4, 6, 9, 8, 1, 7, 5, 2, 3, 10, 4, 6, 9, 8, 1, 7, 5, 2, 3, 10, 4, 6, 9, 8, 1, 7, 5, 2, 3, 10, 4, 6, 9, 8, 1, 7, 5, 2, 3, 10, 4, 6, 9, 8, 1, 7, 5, 2, 3, 10, 4, 6, 9, 8, 1, 7, 5, 2, 3, 10, 4, 6, 9, 8, 1, 7, 5, 2, 3, 10, 4, 6, 9 (list; graph; refs; listen; history; internal format)
OFFSET

0,2

LINKS

Index to sequences with linear recurrences with constant coefficients, signature (1,0,0,0,-1,1). [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Apr 20 2010]

FORMULA

a(n)=(1/90)*{74*(n mod 10)+20*[(n+1) mod 10]-16*[(n+2) mod 10]-7*[(n+3) mod 10]+65*[(n+4) mod 10]-52*[(n+5) mod 10]+2*[(n+6) mod 10]+38*[(n+7) mod 10]+29*[(n+8) mod 10]-43*[(n+9) mod 10]}, with n>=0 [From Paolo P. Lava (paoloplava(AT)gmail.com), Feb 24 2010]

a(n) = +a(n-1) -a(n-5) +a(n-6). G.f.:( -1-6*x+2*x^2+3*x^3-x^4-8*x^5 ) / ( (x-1)*(1+x)*(x^4-x^3+x^2-x+1) ). [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Apr 20 2010]

PROG

(Other) sage: [power_mod(7, n, 11)for n in xrange(0, 99)] # [From Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), Nov 03 2009]

(MAGMA)[7^n mod 11: n in [0..57]]; [From Vincenzo Librandi, Feb 08 2011]

CROSSREFS

Sequence in context: A084911 A071876 A191503 * A135537 A112545 A021934

Adjacent sequences:  A070401 A070402 A070403 * A070405 A070406 A070407

KEYWORD

nonn

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com), May 12 2002

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 15 23:53 EST 2012. Contains 205860 sequences.