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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A070391 5^n mod 46. 0
1, 5, 25, 33, 27, 43, 31, 17, 39, 11, 9, 45, 41, 21, 13, 19, 3, 15, 29, 7, 35, 37, 1, 5, 25, 33, 27, 43, 31, 17, 39, 11, 9, 45, 41, 21, 13, 19, 3, 15, 29, 7, 35, 37, 1, 5, 25, 33, 27, 43, 31, 17, 39, 11, 9, 45, 41, 21, 13, 19, 3, 15, 29, 7, 35, 37, 1, 5, 25, 33, 27, 43, 31, 17, 39 (list; graph; refs; listen; history; internal format)
OFFSET

0,2

FORMULA

a(n) = +2*a(n-1) -2*a(n-2) +2*a(n-3) -2*a(n-4) +2*a(n-5) -2*a(n-6) +2*a(n-7) -2*a(n-8) +2*a(n-9) -2*a(n-10) +a(n-11). [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Apr 20 2010]

PROG

(Other) sage: [power_mod(5, n, 46)for n in xrange(0, 75)] # [From Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), Nov 26 2009]

(MAGMA)[5^n mod 46: n in [0..80]]; [From Vincenzo Librandi, Feb 07 2011]

CROSSREFS

Sequence in context: A036127 A018639 A029475 * A084967 A070390 A018724

Adjacent sequences:  A070388 A070389 A070390 * A070392 A070393 A070394

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.