|
| |
|
|
A131712
|
|
Period 4: repeat 1, 3, 7, 9 .
|
|
1
| |
|
|
1, 3, 7, 9, 1, 3, 7, 9, 1, 3, 7, 9, 1, 3, 7, 9, 1, 3, 7, 9, 1, 3, 7, 9, 1, 3, 7, 9, 1, 3, 7, 9, 1, 3, 7, 9, 1, 3, 7, 9, 1, 3, 7, 9, 1, 3, 7, 9, 1, 3, 7, 9, 1, 3, 7, 9, 1, 3, 7, 9, 1, 3, 7, 9, 1, 3, 7, 9, 1, 3, 7, 9, 1, 3, 7, 9, 1, 3, 7, 9, 1, 3, 7, 9, 1, 3, 7, 9, 1, 3, 7, 9, 1, 3, 7, 9, 1, 3, 7, 9, 1, 3, 7, 9, 1
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 0,2
|
|
|
COMMENTS
| Terms of the simple continued fraction of 58/[17*sqrt(285)-243]. [From Paolo P. Lava (paoloplava(AT)gmail.com), Aug 05 2009]
Decimal expansion of 1379/9999. [From Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), May 21 2010]
|
|
|
LINKS
| Index to sequences with linear recurrences with constant coefficients, signature (0,0,0,1).
|
|
|
FORMULA
| a(n)=(1/6)*{17*(n mod 6)+2*[(n+1) mod 4]-2*[(n+2) mod 4]-[(n+3) mod 4]}, with n>=0 - Paolo P. Lava (paoloplava(AT)gmail.com), Oct 02 2007
G.f.: -(1+3*x+7*x^2+9*x^3)/((x-1)*(x+1)*(1+x^2)). - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Nov 14 2007
a(n)=5-[3/2-(3/2)*I]*I^n-(-1)^n-[3/2+(3/2)*I]*(-I)^n, with n>=0 and I=sqrt(-1) - Paolo P. Lava (paoloplava(AT)gmail.com), Jul 17 2008
|
|
|
PROG
| (PARI) a(n)=1+2*(n%4)+2*(n%4\2) [From Jaume Oliver Lafont (joliverlafont(AT)gmail.com), Aug 28 2009]
(MAGMA) &cat[ [1, 3, 7, 9]: k in [1..30] ] [From Vincenzo Librandi, Nov 23 2010]
|
|
|
CROSSREFS
| Cf. A131707, A072845.
Cf. A178148 (decimal expansion of (243+17*sqrt(285))/402). [From Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), May 21 2010]
Sequence in context: A191611 A101366 A090458 * A072845 A197481 A197682
Adjacent sequences: A131709 A131710 A131711 * A131713 A131714 A131715
|
|
|
KEYWORD
| nonn,easy
|
|
|
AUTHOR
| Paul Curtz (bpcrtz(AT)free.fr), Sep 14 2007
|
|
|
EXTENSIONS
| More terms from Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), May 21 2010
|
| |
|
|