|
| |
| |
|
|
|
1, 7, 23, 5, 9, 11, 25, 19, 3, 21, 17, 15, 1, 7, 23, 5, 9, 11, 25, 19, 3, 21, 17, 15, 1, 7, 23, 5, 9, 11, 25, 19, 3, 21, 17, 15, 1, 7, 23, 5, 9, 11, 25, 19, 3, 21, 17, 15, 1, 7, 23, 5, 9, 11, 25, 19, 3, 21, 17, 15, 1, 7, 23, 5, 9, 11, 25, 19, 3, 21, 17, 15, 1, 7, 23, 5, 9, 11, 25, 19, 3
(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,-1,1). [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Apr 20 2010]
|
|
|
FORMULA
| a(n) = +a(n-1) -a(n-6) +a(n-7). G..f: ( -1-6*x-16*x^2+18*x^3-4*x^4-2*x^5-15*x^6 ) / ( (x-1)*(x^2+1)*(x^4-x^2+1) ). [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Apr 20 2010]
|
|
|
MATHEMATICA
| PowerMod[7, Range[0, 80], 26] (* or *) LinearRecurrence[{1, 0, 0, 0, 0, -1, 1}, {1, 7, 23, 5, 9, 11, 25}, 81] (* From Harvey P. Dale, Dec 26 2011 *)
|
|
|
PROG
| sage: [power_mod(7, n, 26)for n in xrange(0, 81)] # [From Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), Nov 27 2009]
(MAGMA) [7^n mod 26: n in [0..80]]; [From Vincenzo Librandi, Feb 08 2011]
|
|
|
CROSSREFS
| Sequence in context: A197853 A087184 A067959 * A167224 A175483 A121815
Adjacent sequences: A070408 A070409 A070410 * A070412 A070413 A070414
|
|
|
KEYWORD
| nonn
|
|
|
AUTHOR
| N. J. A. Sloane (njas(AT)research.att.com), May 12 2002
|
| |
|
|