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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A070353 3^n mod 14. 0
1, 3, 9, 13, 11, 5, 1, 3, 9, 13, 11, 5, 1, 3, 9, 13, 11, 5, 1, 3, 9, 13, 11, 5, 1, 3, 9, 13, 11, 5, 1, 3, 9, 13, 11, 5, 1, 3, 9, 13, 11, 5, 1, 3, 9, 13, 11, 5, 1, 3, 9, 13, 11, 5, 1, 3, 9, 13, 11, 5, 1, 3, 9, 13, 11, 5, 1, 3, 9, 13, 11, 5, 1, 3, 9, 13, 11, 5, 1, 3, 9, 13, 11, 5, 1, 3, 9, 13, 11, 5 (list; graph; refs; listen; history; internal format)
OFFSET

0,2

FORMULA

a(n)=(1/15)*{17*(n mod 6)+22*[(n+1) mod 6]+12*[(n+2) mod 6]-3*[(n+3) mod 6]-8*[(n+4) mod 6]+2*[(n+5) mod 6]}, with n>=0 [From Paolo P. Lava (paoloplava(AT)gmail.com), Feb 25 2010]

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

PROG

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

CROSSREFS

Sequence in context: A137344 A029524 A101537 * A029458 A050571 A193927

Adjacent sequences:  A070350 A070351 A070352 * A070354 A070355 A070356

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 07:10 EST 2012. Contains 205874 sequences.