|
| |
| |
|
|
|
1, 7, 16, 13, 25, 10, 4, 28, 31, 19, 1, 7, 16, 13, 25, 10, 4, 28, 31, 19, 1, 7, 16, 13, 25, 10, 4, 28, 31, 19, 1, 7, 16, 13, 25, 10, 4, 28, 31, 19, 1, 7, 16, 13, 25, 10, 4, 28, 31, 19, 1, 7, 16, 13, 25, 10, 4, 28, 31, 19, 1, 7, 16, 13, 25, 10, 4, 28, 31, 19, 1, 7, 16, 13, 25, 10, 4
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 0,2
|
|
|
LINKS
| Index to sequences with linear recurrences with constant coefficients, signature (1,-1,1,-1,1,-1,1,-1,1).
|
|
|
FORMULA
| a(n) = +a(n-1) -a(n-2) +a(n-3) -a(n-4) +a(n-5) -a(n-6) +a(n-7) -a(n-8) +a(n-9). G..f: ( -1-6*x-10*x^2-3*x^3-22*x^4+12*x^5-16*x^6-12*x^7-19*x^8 ) / ( (x-1)*(1-x+x^2-x^3+x^4)*(1+x+x^2+x^3+x^4) ). [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Apr 20 2010]
|
|
|
PROG
| (Other) sage: [power_mod(7, n, 33)for n in xrange(0, 77)] # [From Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), Nov 27 2009]
(MAGMA)[7^n mod 33: n in [0..80]]; // From Vincenzo Librandi, Feb 08 2011
|
|
|
CROSSREFS
| Sequence in context: A069526 A061039 A063593 * A101681 A067776 A193688
Adjacent sequences: A070414 A070415 A070416 * A070418 A070419 A070420
|
|
|
KEYWORD
| nonn
|
|
|
AUTHOR
| N. J. A. Sloane (njas(AT)research.att.com), May 12 2002
|
| |
|
|