|
| |
| |
|
|
|
1, 5, 8, 6, 13, 14, 2, 10, 16, 12, 9, 11, 4, 3, 15, 7, 1, 5, 8, 6, 13, 14, 2, 10, 16, 12, 9, 11, 4, 3, 15, 7, 1, 5, 8, 6, 13, 14, 2, 10, 16, 12, 9, 11, 4, 3, 15, 7, 1, 5, 8, 6, 13, 14, 2, 10, 16, 12, 9, 11, 4, 3, 15, 7, 1, 5, 8, 6, 13, 14, 2, 10, 16, 12, 9, 11, 4, 3, 15, 7, 1, 5, 8, 6, 13, 14
(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,0,0,0,-1,1). [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Apr 20 2010]
|
|
|
FORMULA
| a(n) = +a(n-1) -a(n-8) +a(n-9). G.f.: ( -1-4*x-3*x^2+2*x^3-7*x^4-x^5+12*x^6-8*x^7-7*x^8 ) / ( (x-1)*(1+x^8) ). [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Apr 20 2010]
|
|
|
PROG
| (Other) sage: [power_mod(5, n, 17)for n in xrange(0, 86)] # [From Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), Nov 26 2009]
(MAGMA) [5^n mod 17: n in [0..80]]; // From Vincenzo Librandi, Feb 07 2011
|
|
|
CROSSREFS
| Sequence in context: A085117 A160043 A145432 * A199444 A005120 A133731
Adjacent sequences: A070368 A070369 A070370 * A070372 A070373 A070374
|
|
|
KEYWORD
| nonn
|
|
|
AUTHOR
| N. J. A. Sloane (njas(AT)research.att.com), May 12 2002
|
| |
|
|