|
| |
| |
|
|
|
1, 3, 9, 27, 25, 19, 1, 3, 9, 27, 25, 19, 1, 3, 9, 27, 25, 19, 1, 3, 9, 27, 25, 19, 1, 3, 9, 27, 25, 19, 1, 3, 9, 27, 25, 19, 1, 3, 9, 27, 25, 19, 1, 3, 9, 27, 25, 19, 1, 3, 9, 27, 25, 19, 1, 3, 9, 27, 25, 19, 1, 3, 9, 27, 25, 19, 1, 3, 9, 27, 25, 19, 1, 3, 9, 27, 25, 19, 1, 3, 9, 27, 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)*{59*(n mod 6)+29*[(n+1) mod 6]+19*[(n+2) mod 6]-31*[(n+3) mod 6]-[(n+4) mod 6]+15*[(n+5) mod 6]}, with n>=0 [From Paolo P. Lava (paoloplava(AT)gmail.com), Feb 25 2010]
a(n) = +a(n-1) -a(n-3) +a(n-4). G.f.: ( -1-2*x-6*x^2-19*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(3, n, 28)for n in xrange(0, 83)] # [From Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), Nov 25 2009]
|
|
|
CROSSREFS
| Sequence in context: A036123 A168427 A070344 * A131137 A061948 A018644
Adjacent sequences: A070354 A070355 A070356 * A070358 A070359 A070360
|
|
|
KEYWORD
| nonn
|
|
|
AUTHOR
| N. J. A. Sloane (njas(AT)research.att.com), May 12 2002
|
| |
|
|