|
| |
|
|
A131282
|
|
Period 6: repeat 1, 2, 3, 3, 4, 5.
|
|
11
| |
|
|
1, 2, 3, 3, 4, 5, 1, 2, 3, 3, 4, 5, 1, 2, 3, 3, 4, 5, 1, 2, 3, 3, 4, 5, 1, 2, 3, 3, 4, 5, 1, 2, 3, 3, 4, 5, 1, 2, 3, 3, 4, 5, 1, 2, 3, 3, 4, 5, 1, 2, 3, 3, 4, 5, 1, 2, 3, 3, 4, 5, 1, 2, 3, 3, 4, 5, 1, 2, 3, 3, 4, 5, 1, 2, 3, 3, 4, 5, 1, 2, 3, 3, 4, 5, 1, 2, 3, 3, 4, 5, 1, 2, 3, 3, 4, 5, 1, 2, 3, 3, 4, 5, 1, 2, 3
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 0,2
|
|
|
COMMENTS
| Terms of the simple continued fraction of 71/[sqrt(44310)-161]. [From Paolo P. Lava (paoloplava(AT)gmail.com), Aug 05 2009]
Decimal expansion of 13705/111111. [From Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), May 17 2010]
|
|
|
LINKS
| Index to sequences with linear recurrences with constant coefficients, signature (0,0,0,0,0,1).
|
|
|
FORMULA
| a(n)=(1/30)*{26*(n mod 6)+[(n+1) mod 6]+[(n+2) mod 6]+6*[(n+3) mod 6]+[(n+4) mod 6]+[(n+5) mod 6]}, with n>=0. - Paolo P. Lava (paoloplava(AT)gmail.com), Nov 19 2007
a(n) = 3-2*cos(Pi*n/3)/3 -2*sin(Pi*n/3)/sqrt(3) -cos(2*Pi*n/3) -sin(2*Pi*n/3)/sqrt(3) -(-1)^n/3. - R. J. Mathar, Oct 08 2011
|
|
|
MATHEMATICA
| PadLeft[{}, 18*6, {1, 2, 3, 3, 4, 5}] (* From Harvey P. Dale, Sep 23 2011 *)
|
|
|
PROG
| (PARI) a(n)=1+n%6-n%6\3 [From Jaume Oliver Lafont (joliverlafont(AT)gmail.com), Aug 28 2009]
|
|
|
CROSSREFS
| Cf. A178038 (decimal expansion of (161+sqrt(44310))/259). [From Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), May 17 2010]
Sequence in context: A130121 A007898 A110533 * A114544 A154726 A204979
Adjacent sequences: A131279 A131280 A131281 * A131283 A131284 A131285
|
|
|
KEYWORD
| nonn,easy
|
|
|
AUTHOR
| Paul Curtz (bpcrtz(AT)free.fr), Oct 21 2007
|
| |
|
|