|
| |
| |
|
|
|
1, 6, 5, 30, 25, 26, 1, 6, 5, 30, 25, 26, 1, 6, 5, 30, 25, 26, 1, 6, 5, 30, 25, 26, 1, 6, 5, 30, 25, 26, 1, 6, 5, 30, 25, 26, 1, 6, 5, 30, 25, 26, 1, 6, 5, 30, 25, 26, 1, 6, 5, 30, 25, 26, 1, 6, 5, 30, 25, 26, 1, 6, 5, 30, 25, 26, 1, 6, 5, 30, 25, 26, 1, 6, 5, 30, 25, 26, 1, 6, 5, 30, 25
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 0,2
|
|
|
LINKS
| Index to sequences with linear recurrences with constant coefficients, signature (1,0,-1,1). [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Apr 20 2010]
|
|
|
FORMULA
| a(n)=(1/15)*{78*(n mod 6)+13*[(n+1) mod 6]+28*[(n+2) mod 6]-47*[(n+3) mod 6]+18*[(n+4) mod 6]+3*[(n+5) mod 6]}, with n>=0 [From Paolo P. Lava (paoloplava(AT)gmail.com), Apr 16 2010]
a(n) = +a(n-1) -a(n-3) +a(n-4). G.f.: ( -1-5*x+x^2-26*x^3 ) / ( (x-1)*(1+x)*(x^2-x+1) ). [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Apr 20 2010]
|
|
|
PROG
| (Other) sage: [power_mod(6, n, 31)for n in xrange(0, 83)] # [From Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), Nov 27 2009]
|
|
|
CROSSREFS
| Sequence in context: A039668 A143130 A082384 * A137763 A029763 A038259
Adjacent sequences: A070396 A070397 A070398 * A070400 A070401 A070402
|
|
|
KEYWORD
| nonn
|
|
|
AUTHOR
| N. J. A. Sloane (njas(AT)research.att.com), May 12 2002
|
| |
|
|