|
| |
| |
|
|
|
0, 1, 3, 2, 4, 0, 1, 3, 2, 4, 0, 1, 3, 2, 4, 0, 1, 3, 2, 4, 0, 1, 3, 2, 4, 0, 1, 3, 2, 4, 0, 1, 3, 2, 4, 0, 1, 3, 2, 4, 0, 1, 3, 2, 4, 0, 1, 3, 2, 4, 0, 1, 3, 2, 4, 0, 1, 3, 2, 4, 0, 1, 3, 2, 4, 0, 1, 3, 2, 4, 0, 1, 3, 2, 4, 0, 1, 3, 2, 4, 0, 1, 3, 2, 4, 0, 1, 3, 2, 4, 0, 1, 3, 2, 4, 0, 1, 3, 2, 4, 0
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 0,3
|
|
|
COMMENTS
| The same as A070471. [Proof: (n^7-n^3) =0 (mod 5) can be shown to be correct by testing n=0 to 4. Alternatively n^7-n^3=n^3*(n^2+1)*(n+1)*(n-1) where n^3=0,1,3,2,4 (mod 5), n^2+1 = 1,2,0,0,2 (mod 5), n+1=1,2,3,4,0 (mod 5) and n-1=4,0,1,2,3 (mod 5), such that one of the factors is 0 (mod 5) for any n]. [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Jul 13 2009]
Decimal expansion of fraction 13240/99999. [From Vincenzo Librandi (vincenzo.librandi(AT)tin.it), Aug 01 2010]
|
|
|
LINKS
| Index to sequences with linear recurrences with constant coefficients, signature (0,0,0,0,1).
|
|
|
FORMULA
| G.f. -x*(1+3*x+2*x^2+4*x^3) / ( (x-1)*(1+x+x^2+x^3+x^4) ). - R. J. Mathar, Mar 14 2011
|
|
|
PROG
| (Other) sage: [power_mod(n, 7, 5 )for n in xrange(0, 101)] # [From Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), Oct 29 2009]
|
|
|
CROSSREFS
| Sequence in context: A143932 A118064 A070471 * A160387 A129237 A127099
Adjacent sequences: A070687 A070688 A070689 * A070691 A070692 A070693
|
|
|
KEYWORD
| nonn
|
|
|
AUTHOR
| N. J. A. Sloane (njas(AT)research.att.com), May 13 2002
|
| |
|
|