|
| |
| |
|
|
|
1, 5, 6, 11, 17, 9, 7, 16, 4, 1, 5, 6, 11, 17, 9, 7, 16, 4, 1, 5, 6, 11, 17, 9, 7, 16, 4, 1, 5, 6, 11, 17, 9, 7, 16, 4, 1, 5, 6, 11, 17, 9, 7, 16, 4, 1, 5, 6, 11, 17, 9, 7, 16, 4, 1, 5, 6, 11, 17, 9, 7, 16, 4, 1, 5, 6, 11, 17, 9, 7, 16, 4, 1, 5, 6, 11, 17, 9, 7, 16, 4, 1, 5, 6, 11, 17, 9, 7, 16
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 0,2
|
|
|
LINKS
| Index to sequences with linear recurrences with constant coefficients, signature (0,0,0,0,0,0,0,0,1). [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Apr 20 2010]
|
|
|
FORMULA
| a(n)=(1/81)*{46*(n mod 9)+127*[(n+1) mod 9]-62*[(n+2) mod 9]+37*[(n+3) mod 9]+91*[(n+4) mod 9]-35*[(n+5) mod 9]-26*[(n+6) mod 9]+10*[(n+7) mod 9]-17*[(n+8) mod 9]}, with n>=0 [From Paolo P. Lava (paoloplava(AT)gmail.com), Feb 24 2010]
a(n) = +a(n-9). G.f.: ( -1-5*x-6*x^2-11*x^3-17*x^4-9*x^5-7*x^6-16*x^7-4*x^8 ) / ( (x-1)*(1+x+x^2)*(x^6+x^3+1) ). [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Apr 20 2010]
|
|
|
PROG
| (Other) sage: [power_mod(5, n, 19)for n in xrange(0, 89)] # [From Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), Nov 26 2009]
(MAGMA)[5^n mod 19: n in [0..80]]; // From Vincenzo Librandi, Feb 07 2011
|
|
|
CROSSREFS
| Sequence in context: A083450 A136974 A101187 * A022095 A042531 A042839
Adjacent sequences: A070370 A070371 A070372 * A070374 A070375 A070376
|
|
|
KEYWORD
| nonn
|
|
|
AUTHOR
| N. J. A. Sloane (njas(AT)research.att.com), May 12 2002
|
| |
|
|