|
| |
|
|
A131718
|
|
Period 6: repeat 1, 1, 2, 1, 2, 1.
|
|
2
| |
|
|
1, 1, 2, 1, 2, 1, 1, 1, 2, 1, 2, 1, 1, 1, 2, 1, 2, 1, 1, 1, 2, 1, 2, 1, 1, 1, 2, 1, 2, 1, 1, 1, 2, 1, 2, 1, 1, 1, 2, 1, 2, 1, 1, 1, 2, 1, 2, 1, 1, 1, 2, 1, 2, 1, 1, 1, 2, 1, 2, 1, 1, 1, 2, 1, 2, 1, 1, 1, 2, 1, 2, 1, 1, 1, 2, 1, 2, 1, 1, 1, 2, 1, 2, 1, 1, 1, 2, 1, 2, 1, 1, 1, 2, 1, 2, 1, 1, 1, 2, 1, 2, 1, 1, 1, 2
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 0,3
|
|
|
COMMENTS
| Terms of the simple continued fraction of 38/[sqrt(1365)-15]. [From Paolo P. Lava (paoloplava(AT)gmail.com), Aug 05 2009]
Decimal expansion of 112121/999999. [From Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), May 21 2010]
|
|
|
LINKS
| Index entries for sequences related to linear recurrences with constant coefficients, signature (0,0,0,0,0,1).
|
|
|
FORMULA
| a(n)=(1/90)*{8*(n mod 6)+23*[(n+1) mod 6]-7*[(n+2) mod 6]+23*[(n+3) mod 6]-7*[(n+4) mod 6]+8*[(n+5) mod 6]}, with n>=0 - Paolo P. Lava (paoloplava(AT)gmail.com), Oct 02 2007
O.g.f.: -(1+x+2x^2+x^3+2x^4+x^5)/((x-1)(1+x)(x^2+x+1)(x^2-x+1)) . - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Jan 17 2008
|
|
|
PROG
| (MAGMA) &cat[ [1, 1, 2, 1, 2, 1]: k in [1..30] ] [From Vincenzo Librandi, Nov 23 2010]
(PARI) a(n)=[1, 1, 2, 1, 2, 1][n%6+1] \\ Charles R Greathouse IV, Jun 02 2011
|
|
|
CROSSREFS
| Cf. A178149 (decimal expansion of (15+sqrt(1365))/30). [From Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), May 21 2010]
Sequence in context: A060500 A187284 A160198 * A131017 A049046 A003647
Adjacent sequences: A131715 A131716 A131717 * A131719 A131720 A131721
|
|
|
KEYWORD
| nonn,easy,less
|
|
|
AUTHOR
| Paul Curtz (bpcrtz(AT)free.fr), Sep 15 2007
|
|
|
EXTENSIONS
| More terms from Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), May 21 2010
|
| |
|
|