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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A070342 3^n mod 19. 2
1, 3, 9, 8, 5, 15, 7, 2, 6, 18, 16, 10, 11, 14, 4, 12, 17, 13, 1, 3, 9, 8, 5, 15, 7, 2, 6, 18, 16, 10, 11, 14, 4, 12, 17, 13, 1, 3, 9, 8, 5, 15, 7, 2, 6, 18, 16, 10, 11, 14, 4, 12, 17, 13, 1, 3, 9, 8, 5, 15, 7, 2, 6, 18, 16, 10, 11, 14, 4, 12, 17, 13, 1, 3, 9 (list; graph; refs; listen; history; internal format)
OFFSET

0,2

FORMULA

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

PROG

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

(MAGMA) [3^n mod 19: n in [0..90]]; [From Vincenzo Librandi, Feb 06 2011]

CROSSREFS

Sequence in context: A200240 A199052 A021255 * A021719 A200346 A199781

Adjacent sequences:  A070339 A070340 A070341 * A070343 A070344 A070345

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 16 02:30 EST 2012. Contains 205860 sequences.